src/FreeFW/Http/ApiParams.php
public function getApiModel(string $p_model) : \FreeFW\Core\Model
    {
        $class = str_replace('_', '::Model::', $p_model);
        return \FreeFW\DI\DI::get($class);
    }
public function getApiModel(string $p_model) : \FreeFW\Core\Model
    {
        $class = str_replace('_', '::Model::', $p_model);
        return \FreeFW\DI\DI::get($class);
    }
public function getApiModel ( string $ p_model ) : \ FreeFW \ Core \ Model { $ class = str_replace ( '_' , '::Model::' , $ p_model ) ; return \ FreeFW \ DI \ DI :: get ( $ class ) ; }
Get new model

@param string $p_model

@return \FreeFW\Core\Model
Get new model