Поправил описание атрибутов

This commit is contained in:
Sipachev Igor 2021-08-23 12:42:26 +07:00
parent e4ff986b23
commit 18eca9a5a7
3 changed files with 5661 additions and 3 deletions

5658
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,10 +2,10 @@
namespace Rinsvent\RequestBundle\Annotation;
#[\Attribute]
#[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
class PropertyPath
{
public function __construct(
public string $path
) {}
}
}

View File

@ -2,7 +2,7 @@
namespace Rinsvent\RequestBundle\Annotation;
#[\Attribute(\Attribute::IS_REPEATABLE)]
#[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
class RequestDTO
{
public function __construct(