src/Router/Router.php
private function getModelNameFromClass($model_class)
    {
        if (($pos = strrpos($model_class, '\\')) !== false) {
            return Inflector::pluralize(Inflector::tableize(substr($model_class, $pos + 1)));
        } else {
            return Inflector::pluralize(Inflector::tableize($model_class));
        }
    }
private function getModelNameFromClass($model_class)
    {
        if (($pos = strrpos($model_class, '\\')) !== false) {
            return Inflector::pluralize(Inflector::tableize(substr($model_class, $pos + 1)));
        } else {
            return Inflector::pluralize(Inflector::tableize($model_class));
        }
    }
private function getModelNameFromClass ( $ model_class ) { if ( ( $ pos = strrpos ( $ model_class , '\\' ) ) !== false ) { return Inflector :: pluralize ( Inflector :: tableize ( substr ( $ model_class , $ pos + 1 ) ) ) ; } else { return Inflector :: pluralize ( Inflector :: tableize ( $ model_class ) ) ; } }
Get model name from model class.

@param  string $model_class
@return string
Get model name from model class .