UsedViewInAnotherViewCollector
class UsedViewInAnotherViewCollector
Traits
Constants
| private VIEW_DIRECTIVES |
The directives that render views, with the view parameters of the factory method each one compiles to, by name and position. Upstream matches the first quoted string after @extends and the @include directives, so @includeWhen collected part of its condition, @includeFirst only its first view, and @each none of its views. |
| private COMPONENT_TAG_REGEX |
The names of opening Blade component tags, such as Upstream matches only the |
Properties
| protected Container|null | $container | from HasContainer |
Methods
Create a new collector instance.
Get the views referenced from other views.
Details
in
HasContainer at line 19
void
setContainer(Container $container)
Set the container used for resolution.
in
HasContainer at line 27
Container
getContainer()
Return the current container.
in
HasContainer at line 35
mixed
resolve(string $abstract)
Resolve the given type from the container.
at line 70
__construct(ViewParser $viewParser, BladeScanner $bladeScanner, ViewFileHelper $viewFileHelper, Filesystem $filesystem)
Create a new collector instance.
at line 83
array
getUsedViews()
Get the views referenced from other views.