public function initDependencyContainer(Dependency\ContainerInterface $container = null)
    {
        if (null === $container) {
            $container = Dependency\Container::getInstance();
        }

        $this->dependencyContainer = $container;

        return $this;
    }
public function initDependencyContainer(Dependency\ContainerInterface $container = null)
    {
        if (null === $container) {
            $container = Dependency\Container::getInstance();
        }

        $this->dependencyContainer = $container;

        return $this;
    }
public function initDependencyContainer ( Dependency \ ContainerInterface $ container = null ) { if ( null === $ container ) { $ container = Dependency \ Container :: getInstance ( ) ; } $ this -> dependencyContainer = $ container ; return $ this ; }
Initialize dependency container.

@param  Dependency\ContainerInterface $container
@return self
Initialize dependency container .