for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Xervice\Core\Business\Model\Dependency\Provider;
use Xervice\Core\Business\Model\Config\ConfigInterface;
abstract class AbstractDependencyProvider implements DependencyProviderInterface
{
/**
* @var ConfigInterface
*/
protected $config;
* AbstractDependencyProvider constructor.
*
* @param \Xervice\Core\Business\Model\Config\ConfigInterface $config
public function __construct(ConfigInterface $config)
$this->config = $config;
}
* @return \Xervice\Core\Business\Model\Config\ConfigInterface
protected function getConfig(): ConfigInterface
return $this->config;