2 namespace Utility\Service;
4 use Zend\ServiceManager\ServiceLocatorAwareInterface;
5 use Zend\ServiceManager\ServiceLocatorInterface;
8 class Node implements ServiceLocatorAwareInterface
11 * @var ServiceLocatorInterface
15 * @var \Zend\Config\Config
21 * Initialize new instance.
22 * @return \Utility\Service\Node
24 public function __construct()
26 $this->config = new \Zend\Config\Config(include __DIR__ . '/../../../config/service.config.php');
27 $this->themeStack = array();
31 * @see \Zend\ServiceManager\ServiceLocatorAwareInterface::setServiceLocator()
33 public function setServiceLocator(ServiceLocatorInterface $serviceLocator)
35 $this->services = $serviceLocator;
39 * @see \Zend\ServiceManager\ServiceLocatorAwareInterface::getServiceLocator()
41 public function getServiceLocator()
43 return $this->services;
47 * Retrieve service config.
48 * @return \Zend\Config\Config
50 public function getConfig()