| 1 | <?php |
||
| 20 | class GroupsExclusionStrategy extends ExclusionStrategy |
||
| 21 | { |
||
| 22 | const GROUP_DEFAULT = 'Default'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string[] |
||
| 26 | */ |
||
| 27 | private $groups; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string[] $groups |
||
| 31 | */ |
||
| 32 | public function __construct(array $groups) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 48 | public function skipProperty(PropertyMetadataInterface $property, ContextInterface $context) |
|
| 54 | } |
||
| 55 |