public function getNamespaceFactory() {
		if ($this->_namespacesFactory === null) {
			if ($this instanceof LocatorAwareInterface && $this->hasLocator()) {
				$this->_namespacesFactory = $this->getLocator()->get($this->getSessionNamespaceFactoryServiceId());
				
				if (! $this->_namespacesFactory instanceof NamespaceFactoryInterface) {
					throw new NoNamespacesFactory('Namespace\'s factory must implement the "HelpersLocatorInterface"');
				}
			} else {
				throw new NoNamespacesFactory('No namespace\'s factory been supplied, also unable to obtain one through locator');
			}
		}
		
		return $this->_namespacesFactory;
	}
public function getNamespaceFactory() {
		if ($this->_namespacesFactory === null) {
			if ($this instanceof LocatorAwareInterface && $this->hasLocator()) {
				$this->_namespacesFactory = $this->getLocator()->get($this->getSessionNamespaceFactoryServiceId());
				
				if (! $this->_namespacesFactory instanceof NamespaceFactoryInterface) {
					throw new NoNamespacesFactory('Namespace\'s factory must implement the "HelpersLocatorInterface"');
				}
			} else {
				throw new NoNamespacesFactory('No namespace\'s factory been supplied, also unable to obtain one through locator');
			}
		}
		
		return $this->_namespacesFactory;
	}
public function getNamespaceFactory ( ) { if ( $ this -> _namespacesFactory === null ) { if ( $ this instanceof LocatorAwareInterface && $ this -> hasLocator ( ) ) { $ this -> _namespacesFactory = $ this -> getLocator ( ) -> get ( $ this -> getSessionNamespaceFactoryServiceId ( ) ) ; if ( ! $ this -> _namespacesFactory instanceof NamespaceFactoryInterface ) { throw new NoNamespacesFactory ( 'Namespace\'s factory must implement the "HelpersLocatorInterface"' ) ; } } else { throw new NoNamespacesFactory ( 'No namespace\'s factory been supplied, also unable to obtain one through locator' ) ; } } return $ this -> _namespacesFactory ; }
Get the namespaces factory

@return NamespaceFactoryInterface
Get the namespaces factory