ForwardedModelMethodExtension
class ForwardedModelMethodExtension implements MethodsClassReflectionExtension
Describe Eloquent builder methods forwarded through models.
Methods
__construct(ReflectionProvider $reflectionProvider, ModelScopeMethodResolver $scopeMethods)
Create a forwarded model method extension.
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the model exposes the forwarded builder method.
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Return the forwarded builder method.
Details
at line 29
__construct(ReflectionProvider $reflectionProvider, ModelScopeMethodResolver $scopeMethods)
Create a forwarded model method extension.
at line 39
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the model exposes the forwarded builder method.
at line 47
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Return the forwarded builder method.