public function __construct($context = null) { if ($context == null) { $context = \MagentoConfigs::$CONTEXT; } $this->proxy = ProxyFactory::FactoryProducts($context); }