Devise\Pages\Interpreter\ViewOpener::openViewPath PHP Method

openViewPath() public method

Find the real path
public openViewPath ( [type] $path ) : [type]
$path [type]
return [type]
    public function openViewPath($path)
    {
        try {
            $realpath = $this->finder->find($path);
            return $this->file->get($realpath);
        } catch (\Exception $e) {
            // we just return an empty string, we are going to passively fail
            // here because it is not always possible to search inside of
            // the @include(...) view path, for example, what if it was
            // @include ($somevar . '_item') there is no way to find this
            // view without first rendering the page
        }
        return '';
    }