for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Laganica\Di\Resolver;
use Psr\Container\ContainerInterface;
/**
* Class Resolver
*
* @package Laganica\Di\Resolver
*/
abstract class Resolver implements ResolverInterface
{
* @var ContainerInterface
private $container;
* Resolver constructor.
* @param ContainerInterface $container
public function __construct(ContainerInterface $container)
$this->container = $container;
}
* @return ContainerInterface
protected function getContainer(): ContainerInterface
return $this->container;