public static function getModelClass($model): string
    {
        if (!isset(self::$modelClassMap[$model])) {
            // try to detect
            $className = '\\Application\\' . $model . '\\Table';

            if (!class_exists($className)) {
                throw new RelationNotFoundException("Related class for model `$model` not found");
            }
            self::$modelClassMap[$model] = $className;
        }
        return self::$modelClassMap[$model];
    }
public static function getModelClass($model): string
    {
        if (!isset(self::$modelClassMap[$model])) {
            // try to detect
            $className = '\\Application\\' . $model . '\\Table';

            if (!class_exists($className)) {
                throw new RelationNotFoundException("Related class for model `$model` not found");
            }
            self::$modelClassMap[$model] = $className;
        }
        return self::$modelClassMap[$model];
    }
public static function getModelClass ( $ model ) : string { if ( ! isset ( self :: $ modelClassMap [ $ model ] ) ) { // try to detect $ className = '\\Application\\' . $ model . '\\Table' ; if ( ! class_exists ( $ className ) ) { throw new RelationNotFoundException ( "Related class for model `$model` not found" ) ; } self :: $ modelClassMap [ $ model ] = $ className ; } return self :: $ modelClassMap [ $ model ] ; }
Get information about Model classes

@param  string $model

@return string
@throws Exception\RelationNotFoundException
Get information about Model classes