Свойство | Тип | Описание | |
---|---|---|---|
$finder | Illuminate\View\FileViewFinder | Search for view paths |
Метод | Описание | |
---|---|---|
__construct ( Illuminate\View\FileViewFinder $finder = null, $file = null ) | Construct a new view opener | |
findAllIncludedViews ( $viewPath, $ignore = [] ) : [type] | Recursively finds every view that is included inside this view | |
open ( $includeStatement, &$includedViews ) : string | Attempt to open the view path if something fails then we silently fail and return an empty string. | |
openViewPath ( [type] $path ) : [type] | Find the real path |
Метод | Описание | |
---|---|---|
includeStatements ( string $content ) : array | Gets the included views from all these matches | |
pathFromIncludeStatement ( $statement ) : null | Finds the path from a $statement string. The pattern below searches for "@include('this.is.what.we.want', . |
public __construct ( Illuminate\View\FileViewFinder $finder = null, $file = null ) | ||
$finder | Illuminate\View\FileViewFinder |
public findAllIncludedViews ( $viewPath, $ignore = [] ) : [type] | ||
Результат | [type] |
protected includeStatements ( string $content ) : array | ||
$content | string | |
Результат | array |
public openViewPath ( [type] $path ) : [type] | ||
$path | [type] | |
Результат | [type] |
protected pathFromIncludeStatement ( $statement ) : null | ||
$statement | ||
Результат | null |