config = $config; } /** * @param ServiceLocatorInterface $serviceLocator * @return array|null|\Zend\Config\Config */ public function getPages(ServiceLocatorInterface $serviceLocator) { if (null === $this->pages) { $this->pages = $this->preparePages($serviceLocator, $this->getPagesFromConfig($this->config)); } return $this->pages; } /** * @return string */ public function getName() { return 'constructed'; } }