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

This commit is contained in:
Sipachev Igor 2021-08-23 12:39:41 +07:00
parent 642dd026f1
commit 59f37226ee
6 changed files with 11 additions and 11 deletions

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@
namespace Rinsvent\Data2DTO\Attribute;
/** @property string[] $tags */
#[\Attribute]
#[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
class VirtualProperty
{
public function __construct(

View File

@ -2,7 +2,7 @@
namespace Rinsvent\Data2DTO\Transformer;
#[\Attribute]
#[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
abstract class Meta
{
public const TYPE = 'simple';

View File

@ -2,7 +2,7 @@
namespace Rinsvent\Data2DTO\Transformer;
#[\Attribute]
#[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
class Trim extends Meta
{
public function __construct(