src/Lumos/Commands/NewViewCommand.php
private function name($extra)
    {
        $file = $extra[0];
        $file = str_replace('.', '/', $file);
        //
        switch ($extra[1]) {
            case 'smarty': $extention = '.tpl.php'; break;
            case 'atom': $extention = '.atom'; break;
            default: $extention = '.php'; break;
        }

        return $file.$extention;
    }
private function name($extra)
    {
        $file = $extra[0];
        $file = str_replace('.', '/', $file);
        //
        switch ($extra[1]) {
            case 'smarty': $extention = '.tpl.php'; break;
            case 'atom': $extention = '.atom'; break;
            default: $extention = '.php'; break;
        }

        return $file.$extention;
    }
private function name ( $ extra ) { $ file = $ extra [ 0 ] ; $ file = str_replace ( '.' , '/' , $ file ) ; // switch ( $ extra [ 1 ] ) { case 'smarty' : $ extention = '.tpl.php' ; break ; case 'atom' : $ extention = '.atom' ; break ; default : $ extention = '.php' ; break ; } return $ file . $ extention ; }
Get the path , name , and type of view.

@param string $name

@return string
Get the path name and type of view .