data2dto-doctrine-entity-bu.../src/Service/Entity.php

17 lines
301 B
PHP

<?php
namespace Rinsvent\Data2DTODoctrineEntityBundle\Service;
use Rinsvent\Data2DTO\Transformer\Meta;
#[\Attribute]
class Entity extends Meta
{
public const TYPE = 'service';
public function __construct(
public string $class,
public string $primaryType = 'id',
) {}
}