LazyRecord\Inflector::classify PHP Method

classify() public method

Returns Cake model class name ("Person" for the database table "people".) for given database table.
public classify ( string $tableName ) : string
$tableName string Name of database table to get class name for
return string Class name
    public function classify($tableName)
    {
        $_this =& self::getInstance();
        if (!($result = $_this->_cache(__FUNCTION__, $tableName))) {
            $result = self::camelize(self::singularize($tableName));
            $_this->_cache(__FUNCTION__, $tableName, $result);
        }
        return $result;
    }