ForwardedBuilderMethodExtension
class ForwardedBuilderMethodExtension implements MethodsClassReflectionExtension
Resolve declared builders while preserving Eloquent and relation forwarding.
Constants
| private RELATION_NON_DECORATED_METHODS |
|
| private RELATION_DOCUMENTED_FLUENT_METHODS |
|
Methods
__construct(ReflectionProvider $reflectionProvider, ModelScopeMethodResolver $scopeMethods)
Create a forwarded builder method extension.
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the class exposes the forwarded builder method.
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Return the forwarded builder method.
Details
at line 48
__construct(ReflectionProvider $reflectionProvider, ModelScopeMethodResolver $scopeMethods)
Create a forwarded builder method extension.
at line 58
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the class exposes the forwarded builder method.
at line 66
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Return the forwarded builder method.