for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Client\Computop;
use Spryker\Client\Kernel\AbstractDependencyProvider;
use Spryker\Client\Kernel\Container;
class ComputopDependencyProvider extends AbstractDependencyProvider
{
public const CLIENT_ZED_REQUEST = 'CLIENT_ZED_REQUEST';
* @param \Spryker\Client\Kernel\Container $container
*
* @return \Spryker\Client\Kernel\Container
public function provideServiceLayerDependencies(Container $container): Container
$container = $this->addZedRequestClient($container);
return $container;
}
protected function addZedRequestClient(Container $container): Container
$container->set(static::CLIENT_ZED_REQUEST, function (Container $container) {
return $container->getLocator()->zedRequest()->client();
});