public function path($file = '', $theme = null)
    {
        if (is_null($theme)) {
            $theme = $this->getCurrent();
        }

        $theme = $this->format($theme);

        return base_path("themes/{$theme}/{$file}");
    }
public function path($file = '', $theme = null)
    {
        if (is_null($theme)) {
            $theme = $this->getCurrent();
        }

        $theme = $this->format($theme);

        return base_path("themes/{$theme}/{$file}");
    }
public function path ( $ file = '' , $ theme = null ) { if ( is_null ( $ theme ) ) { $ theme = $ this -> getCurrent ( ) ; } $ theme = $ this -> format ( $ theme ) ; return base_path ( "themes/{$theme}/{$file}" ) ; }
Get the path of the given theme file.

@param  string  $file
@param  string  $theme
@return string
Get the path of the given theme file .