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

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

        // change backslash to forward slash (for windows file system)
        $path = str_replace("\\", "/", array_get($trace[1], 'file'));

        $config = $this->getConfig();

        $link = preg_replace("#(public/{$config['themeDir']}/)[^/]+#", "$1{$theme}", $path);

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

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

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

        // change backslash to forward slash (for windows file system)
        $path = str_replace("\\", "/", array_get($trace[1], 'file'));

        $config = $this->getConfig();

        $link = preg_replace("#(public/{$config['themeDir']}/)[^/]+#", "$1{$theme}", $path);

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

        return require($link);
    }
public function symlinkWithFindInherit ( $ theme ) { $ trace = debug_backtrace ( ) ; if ( ! isset ( $ trace [ 1 ] ) ) return ; // change backslash to forward slash (for windows file system) $ path = str_replace ( "\\" , "/" , array_get ( $ trace [ 1 ] , 'file' ) ) ; $ config = $ this -> getConfig ( ) ; $ link = preg_replace ( "#(public/{$config['themeDir']}/)[^/]+#" , "$1{$theme}" , $ path ) ; extract ( $ this -> arguments ) ; extract ( $ this -> view -> getShared ( ) ) ; return require ( $ link ) ; }
Symlink with inherit.

This method is the same symlink, but try to find inherit,
from config.

@param  string $theme
@return string
Symlink with inherit .