| 1 | <?php |
||
| 8 | abstract class AbstractEntityService |
||
| 9 | { |
||
| 10 | /** @var EntityManagerInterface L'entity manager */ |
||
| 11 | protected $em; |
||
| 12 | |||
| 13 | /** @var ValidatorInterface Le service pour la validation des data */ |
||
| 14 | protected $validator; |
||
| 15 | |||
| 16 | protected function __construct(EntityManagerInterface $em, ValidatorInterface $validator) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Undocumented function |
||
| 24 | * |
||
| 25 | * @param array $datas |
||
| 26 | * @param array $validation_groups |
||
| 27 | * @param mixed $entity |
||
|
|
|||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | protected function filterDataByValidationGroups(array $datas, array $validation_groups, AbstractEntity $entity) |
||
| 47 | } |
||
| 48 |