src/Mvc/Model.php
public function get($modelName)
    {
        $modelNamespace = Configuration::read('mvc.model.namespace');
        $modelNamespace = $modelNamespace . '\\' . ucFirst($modelName);
        if (!class_exists($modelNamespace)) {
            trigger_error('Model "' . $modelNamespace . '" doesn\'t exist.', E_USER_ERROR);
            return false;
        }
        return new $modelNamespace();
    }
public function get($modelName)
    {
        $modelNamespace = Configuration::read('mvc.model.namespace');
        $modelNamespace = $modelNamespace . '\\' . ucFirst($modelName);
        if (!class_exists($modelNamespace)) {
            trigger_error('Model "' . $modelNamespace . '" doesn\'t exist.', E_USER_ERROR);
            return false;
        }
        return new $modelNamespace();
    }
public function get ( $ modelName ) { $ modelNamespace = Configuration :: read ( 'mvc.model.namespace' ) ; $ modelNamespace = $ modelNamespace . '\\' . ucFirst ( $ modelName ) ; if ( ! class_exists ( $ modelNamespace ) ) { trigger_error ( 'Model "' . $ modelNamespace . '" doesn\'t exist.' , E_USER_ERROR ) ; return false ; } return new $ modelNamespace ( ) ; }
Call a model class

@since   1.0
@param   string $modelName Model class name
@return  object|bool Return model defined in $modelName or false if error
Call a model class