Updates the composer name, PSR-4 namespace (Pronchev\Pinecore → Pinecore\Pinecore), test namespace, and all docs to reflect the new repository owner. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
18 lines
487 B
PHP
18 lines
487 B
PHP
<?php
|
|
|
|
namespace Tests\Pinecore\Pinecore\Fixtures\Orm;
|
|
|
|
use Pinecore\Pinecore\Model\MongoEntity;
|
|
use Pinecore\Pinecore\Orm\Attributes\Collection;
|
|
use Pinecore\Pinecore\Orm\Attributes\Embedded;
|
|
use Pinecore\Pinecore\Orm\Attributes\Id;
|
|
|
|
#[Collection(name: 'invalid_embedded_primitive')]
|
|
final class EmbeddedOnPrimitive implements MongoEntity
|
|
{
|
|
public function __construct(
|
|
#[Id] public readonly string $id,
|
|
#[Embedded] public readonly string $payload,
|
|
) {}
|
|
}
|