public function getModelNameSpace()
    {
        if (!isset($this->modelNameSpace)) {
            $config = $this->getDI()->get('config');
            $nameSpace = $config['namespaces']['models'];
            $this->modelNameSpace = $nameSpace . $this->getModelName();
        }

        return $this->modelNameSpace;
    }
public function getModelNameSpace()
    {
        if (!isset($this->modelNameSpace)) {
            $config = $this->getDI()->get('config');
            $nameSpace = $config['namespaces']['models'];
            $this->modelNameSpace = $nameSpace . $this->getModelName();
        }

        return $this->modelNameSpace;
    }
public function getModelNameSpace ( ) { if ( ! isset ( $ this -> modelNameSpace ) ) { $ config = $ this -> getDI ( ) -> get ( 'config' ) ; $ nameSpace = $ config [ 'namespaces' ] [ 'models' ] ; $ this -> modelNameSpace = $ nameSpace . $ this -> getModelName ( ) ; } return $ this -> modelNameSpace ; }
simple function to return the model's full name space
relies on getModelName
lazy load and cache result
simple function to return the model s full name space relies on getModelName lazy load and cache result