dto2data/src/Attribute/PropertyPath.php

16 lines
311 B
PHP

<?php
declare(strict_types=1);
namespace Rinsvent\DTO2Data\Attribute;
#[\Attribute(\Attribute::TARGET_ALL|\Attribute::IS_REPEATABLE)]
class PropertyPath
{
public function __construct(
public string $path,
/** @var string[] $tags */
public array $tags = ['default']
) {
}
}