| 1 | <?php |
||
| 16 | class ProductView |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var Config |
||
| 20 | */ |
||
| 21 | private $_config; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var CustomerSession |
||
| 25 | */ |
||
| 26 | private $_customerSession; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var Client |
||
| 30 | */ |
||
| 31 | private $_eventClient; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * ProductView constructor. |
||
| 35 | * @param Config $config |
||
| 36 | * @param CustomerSession $customerSession |
||
| 37 | * @param Client $eventClient |
||
| 38 | */ |
||
| 39 | public function __construct( |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param $productId |
||
| 51 | * @return bool|void |
||
| 52 | */ |
||
| 53 | public function processViews($productId) |
||
| 66 | } |
||
| 67 |