src/Theme.php
public function symlink($theme)
    {
        $trace = debug_backtrace();

        if (! isset($trace[1])) return;

        $link = str_replace($this->getThemeName(), $theme, array_get($trace[1], 'file'));

        extract($this->arguments);
        extract($this->view->getShared());

        return require($link);
    }
public function symlink($theme)
    {
        $trace = debug_backtrace();

        if (! isset($trace[1])) return;

        $link = str_replace($this->getThemeName(), $theme, array_get($trace[1], 'file'));

        extract($this->arguments);
        extract($this->view->getShared());

        return require($link);
    }
public function symlink ( $ theme ) { $ trace = debug_backtrace ( ) ; if ( ! isset ( $ trace [ 1 ] ) ) return ; $ link = str_replace ( $ this -> getThemeName ( ) , $ theme , array_get ( $ trace [ 1 ] , 'file' ) ) ; extract ( $ this -> arguments ) ; extract ( $ this -> view -> getShared ( ) ) ; return require ( $ link ) ; }
Link to another view.

<code>
// Look up view from another view in the same place.
Theme::symlink('another')
</code>

@param  string $theme
@return string
Link to another view .