Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Context.php
Go to the documentation of this file.
1 <?php
8 
20 class Context implements ContextInterface
21 {
26 
30  protected $stateKey;
31 
35  protected $collectionFilter;
36 
42  public function __construct(
46  ) {
47  $this->collectionProvider = $collectionProvider;
48  $this->stateKey = $stateKey;
49  $this->collectionFilter = $collectionFilter;
50  }
51 
55  public function getCollectionProvider()
56  {
58  }
59 
63  public function getStateKey()
64  {
65  return $this->stateKey;
66  }
67 
71  public function getCollectionFilter()
72  {
74  }
75 }
__construct(ItemCollectionProviderInterface $collectionProvider, StateKeyInterface $stateKey, CollectionFilterInterface $collectionFilter)
Definition: Context.php:42