Пример #1
0
 /**
  * @param ManagerRegistry              $doctrine
  * @param ConfigManager                $configManager
  * @param BaseDataAccessorInterface    $dataAccessor
  * @param BaseDataTransformerInterface $dataTransformer
  * @param QueryHintResolverInterface   $queryHintResolver
  */
 public function __construct(ManagerRegistry $doctrine, ConfigManager $configManager, BaseDataAccessorInterface $dataAccessor, BaseDataTransformerInterface $dataTransformer, QueryHintResolverInterface $queryHintResolver)
 {
     parent::__construct($doctrine, new ExtendEntityFieldFilter($configManager), $dataAccessor, $dataTransformer, $queryHintResolver);
 }
Пример #2
0
 /**
  * @param ManagerRegistry              $doctrine
  * @param ConfigManager                $configManager
  * @param BaseDataAccessorInterface    $dataAccessor
  * @param BaseDataTransformerInterface $dataTransformer
  * @param QueryHintResolverInterface   $queryHintResolver
  */
 public function __construct(ManagerRegistry $doctrine, ConfigManager $configManager, BaseDataAccessorInterface $dataAccessor, BaseDataTransformerInterface $dataTransformer, QueryHintResolverInterface $queryHintResolver)
 {
     $doctrineHelper = new DoctrineHelper($doctrine);
     $fieldAccessor = new FieldAccessor($doctrineHelper, $dataAccessor, new ExtendEntityFieldFilter($configManager));
     parent::__construct($doctrineHelper, $dataAccessor, $dataTransformer, new QueryFactory($doctrineHelper, $queryHintResolver), $fieldAccessor, new ConfigNormalizer(), new DataNormalizer());
 }