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>
19 lines
521 B
PHP
19 lines
521 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\Field;
|
|
use Pinecore\Pinecore\Orm\Attributes\Id;
|
|
|
|
#[Collection(name: 'mixed_props')]
|
|
final class MixedPropsEntity implements MongoEntity
|
|
{
|
|
public function __construct(
|
|
#[Id] public readonly string $id,
|
|
#[Field] public readonly string $email,
|
|
public readonly string $untagged = 'ignored',
|
|
) {}
|
|
}
|