BuilderHelper
class BuilderHelper
Constants
MODEL_RETRIEVAL_METHODS |
|
MODEL_CREATION_METHODS |
|
Properties
string[] | $passthru | The methods that should be returned from query builder. |
Methods
__construct(ReflectionProvider $reflectionProvider, bool $checkProperties)
No description
EloquentBuilderMethodReflection|null
dynamicWhere(string $methodName, Type $returnObject)
No description
MethodReflection|null
searchOnEloquentBuilder(ClassReflection $eloquentBuilder, string $methodName, ClassReflection $model)
This method mimics the EloquentBuilder::__call
method.
string
determineBuilderName(string $modelClassName)
No description
string
determineCollectionClassName(string $modelClassName)
No description
Details
at line 58
__construct(ReflectionProvider $reflectionProvider, bool $checkProperties)
No description
at line 64
EloquentBuilderMethodReflection|null
dynamicWhere(string $methodName, Type $returnObject)
No description
at line 133
MethodReflection|null
searchOnEloquentBuilder(ClassReflection $eloquentBuilder, string $methodName, ClassReflection $model)
This method mimics the EloquentBuilder::__call
method.
Does not handle the case where $methodName exists in EloquentBuilder
,
that should be checked by caller before calling this method.
at line 198
string
determineBuilderName(string $modelClassName)
No description
at line 219
string
determineCollectionClassName(string $modelClassName)
No description