Files
pinecore/tests/Fixtures/Orm/EmbeddedOnPrimitive.php
pronchev 9470fa521b Rename package from pronchev/pinecore to pinecore/pinecore
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>
2026-05-02 04:20:23 +03:00

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,
) {}
}