BuilderDependencies
class BuilderDependencies
| internal |
Declare the custom builder inputs that methods forwarded to an Eloquent builder are described from.
A caller of a forwarded method depends only on the class it calls through and the classes its types name, so a model or relation caller never depends on the model's custom builder or query class. The inputs are therefore declared on the owner every caller depends on: the model for model and relation calls, the builder for direct calls.
Methods
Create a builder dependency tracker.
Declare that the owner's forwarded methods depend on the builder's custom declarations and passthru methods.
Details
at line 32
__construct(DeclarationDependencyTracker $declarationDependencyTracker, BuilderHelper $builderHelper)
Create a builder dependency tracker.
at line 41
void
track(ClassReflection $owner, ClassReflection $builder)
Declare that the owner's forwarded methods depend on the builder's custom declarations and passthru methods.