コード例 #1
0
 /**
  * Constructor
  *
  * @param FormFactoryInterface                $factory
  * @param FilterUtility                       $util
  * @param RequestParametersExtractorInterface $extractor
  * @param AssociationTypeRepositoryInterface  $repo
  * @param ProductRepositoryInterface          $productRepository
  */
 public function __construct(FormFactoryInterface $factory, FilterUtility $util, RequestParametersExtractorInterface $extractor, AssociationTypeRepositoryInterface $repo, ProductRepositoryInterface $productRepository)
 {
     parent::__construct($factory, $util);
     $this->assocTypeRepository = $repo;
     $this->extractor = $extractor;
     $this->productRepository = $productRepository;
 }
コード例 #2
0
 /**
  * Constructor
  *
  * @param FormFactoryInterface                $factory
  * @param FilterUtility                       $util
  * @param RequestParametersExtractorInterface $extractor
  */
 public function __construct(FormFactoryInterface $factory, FilterUtility $util, RequestParametersExtractorInterface $extractor)
 {
     parent::__construct($factory, $util);
     $this->extractor = $extractor;
 }