protected function getModelName($tableName)
    {
        $modelName = ResourceMapper::pluckFirst($tableName, 'table-name', 'model-name');

        return $modelName ?: $this->makeModelName($tableName);
    }
protected function getModelName($tableName)
    {
        $modelName = ResourceMapper::pluckFirst($tableName, 'table-name', 'model-name');

        return $modelName ?: $this->makeModelName($tableName);
    }
protected function getModelName ( $ tableName ) { $ modelName = ResourceMapper :: pluckFirst ( $ tableName , 'table-name' , 'model-name' ) ; return $ modelName ? : $ this -> makeModelName ( $ tableName ) ; }
Gets the model's name from a given table name

@param string $tableName

@return string
Gets the model s name from a given table name