Beispiel #1
0
 /**
  * @param Context $context
  * @param UiComponentFactory $factory
  * @param BookmarkRepositoryInterface $bookmarkRepository
  * @param BookmarkManagementInterface $bookmarkManagement
  * @param \Magento\Ui\Api\Data\BookmarkInterfaceFactory $bookmarkFactory
  * @param UserContextInterface $userContext
  */
 public function __construct(Context $context, UiComponentFactory $factory, BookmarkRepositoryInterface $bookmarkRepository, BookmarkManagementInterface $bookmarkManagement, \Magento\Ui\Api\Data\BookmarkInterfaceFactory $bookmarkFactory, UserContextInterface $userContext)
 {
     parent::__construct($context, $factory);
     $this->bookmarkRepository = $bookmarkRepository;
     $this->bookmarkManagement = $bookmarkManagement;
     $this->bookmarkFactory = $bookmarkFactory;
     $this->userContext = $userContext;
 }
Beispiel #2
0
 /**
  * @param Context $context
  * @param UiComponentFactory $factory
  * @param BookmarkRepositoryInterface $bookmarkRepository
  * @param BookmarkManagementInterface $bookmarkManagement
  * @param BookmarkInterfaceFactory $bookmarkFactory
  * @param UserContextInterface $userContext
  * @param DecoderInterface $jsonDecoder
  */
 public function __construct(Context $context, UiComponentFactory $factory, BookmarkRepositoryInterface $bookmarkRepository, BookmarkManagementInterface $bookmarkManagement, BookmarkInterfaceFactory $bookmarkFactory, UserContextInterface $userContext, DecoderInterface $jsonDecoder)
 {
     parent::__construct($context, $factory);
     $this->bookmarkRepository = $bookmarkRepository;
     $this->bookmarkManagement = $bookmarkManagement;
     $this->bookmarkFactory = $bookmarkFactory;
     $this->userContext = $userContext;
     $this->jsonDecoder = $jsonDecoder;
 }
Beispiel #3
0
 /**
  * @param Context $context
  * @param UiComponentFactory $factory
  * @param BookmarkRepositoryInterface $bookmarkRepository
  * @param BookmarkManagementInterface $bookmarkManagement
  */
 public function __construct(
     Context $context,
     UiComponentFactory $factory,
     BookmarkRepositoryInterface $bookmarkRepository,
     BookmarkManagementInterface $bookmarkManagement
 ) {
     parent::__construct($context, $factory);
     $this->bookmarkRepository = $bookmarkRepository;
     $this->bookmarkManagement = $bookmarkManagement;
 }
Beispiel #4
0
 /**
  * Constructor
  *
  * @param Context $context
  * @param UiComponentFactory $factory
  */
 public function __construct(Context $context, UiComponentFactory $factory)
 {
     parent::__construct($context, $factory);
 }