예제 #1
0
 public function __construct(Context $context, Filter $filter, CollectionFactory $collectionFactory, array $data = [])
 {
     $this->_filter = $filter;
     $this->_collectionFactory = $collectionFactory;
     parent::__construct($context);
 }
예제 #2
0
 public function __construct(Context $context, CollectionFactory $bannerCollectionFactory, JsonFactory $jsonFactory)
 {
     parent::__construct($context);
     $this->jsonFactory = $jsonFactory;
     $this->bannerCollectionFactory = $bannerCollectionFactory;
 }