src/ViewFinder/ViewFinder.php
protected function findRelativePathView($name)
    {
        $caller = Backtrace::getViewOrigin();
        return $this->findInPaths($name, [dirname($caller)]);
    }
protected function findRelativePathView($name)
    {
        $caller = Backtrace::getViewOrigin();
        return $this->findInPaths($name, [dirname($caller)]);
    }
protected function findRelativePathView ( $ name ) { $ caller = Backtrace :: getViewOrigin ( ) ; return $ this -> findInPaths ( $ name , [ dirname ( $ caller ) ] ) ; }
Get the path to a template with a relative path.

@param  string $name
@return string
Get the path to a template with a relative path .