Property | Type | Description | |
---|---|---|---|
$finder | Illuminate\View\FileViewFinder | Search for view paths |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
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] | ||
return | [type] |
protected includeStatements ( string $content ) : array | ||
$content | string | |
return | array |
public openViewPath ( [type] $path ) : [type] | ||
$path | [type] | |
return | [type] |
protected pathFromIncludeStatement ( $statement ) : null | ||
$statement | ||
return | null |