Devise\Templates\TemplatesRepository::getTemplateSourceByPath PHP Метод

getTemplateSourceByPath() защищенный Метод

Get the extends/layout string from given template path
protected getTemplateSourceByPath ( $templatePath ) : array
Результат array
    protected function getTemplateSourceByPath($templatePath)
    {
        // find the file location, so we can get the file contents
        $fileLocation = $this->View->make($templatePath)->getPath();
        return \File::get($fileLocation);
    }