Kdyby\Doctrine\RepositoryFactory::__construct PHP Method

__construct() public method

public __construct ( Container $serviceLocator )
$serviceLocator Nette\DI\Container
    public function __construct(Nette\DI\Container $serviceLocator)
    {
        $this->serviceLocator = $serviceLocator;
    }

Usage Example

 public function __construct(Container $serviceLocator)
 {
     parent::__construct($serviceLocator);
     $this->serviceLocator = $serviceLocator;
 }