public function getContainer()
    {
        if (is_null($this->_container)) {
            $container = ContainerBuilder::buildContainer([
                'sharedEventManager' => Definition::object(
                        'Zend\EventManager\SharedEventManager'
                    )
            ]);
            $this->setContainer($container);
        }
        return $this->_container;
    }