public function inflect(Route $route)
    {
        $file  = $route->attributes['controller'].'/';
        $file .= $route->attributes['action'];
        $filtered = self::camelCaseToSeparator($file, '_');
        $filtered = str_replace('_', '-', strtolower($filtered));
        return "{$filtered}.{$this->extension}";
    }
public function inflect(Route $route)
    {
        $file  = $route->attributes['controller'].'/';
        $file .= $route->attributes['action'];
        $filtered = self::camelCaseToSeparator($file, '_');
        $filtered = str_replace('_', '-', strtolower($filtered));
        return "{$filtered}.{$this->extension}";
    }
public function inflect ( Route $ route ) { $ file = $ route -> attributes [ 'controller' ] . '/' ; $ file .= $ route -> attributes [ 'action' ] ; $ filtered = self :: camelCaseToSeparator ( $ file , '_' ) ; $ filtered = str_replace ( '_' , '-' , strtolower ( $ filtered ) ) ; return "{$filtered}.{$this->extension}" ; }
Returns the template name for current request

@param Route $route

@return string
Returns the template name for current request