Passable
final class Passable implements PassableContract
internal |
Traits
Properties
protected Container | $container | from HasContainer |
Methods
__construct(PhpMethodReflectionFactory $methodReflectionFactory, ReflectionProvider $reflectionProvider, Pipeline $pipeline, ClassReflection $classReflection, string $methodName)
Method constructor.
ClassReflection
getClassReflection()
No description
setClassReflection(ClassReflection $classReflection)
No description
string
getMethodName()
No description
bool
hasFound()
No description
bool
searchOn(string $class)
No description
MethodReflection
getMethodReflection()
No description
void
setMethodReflection(MethodReflection $methodReflection)
No description
void
setStaticAllowed(bool $staticAllowed)
Declares that the provided method can be called statically.
bool
isStaticAllowed()
Returns whether the method can be called statically.
bool
sendToPipeline(string $class, bool $staticAllowed = false)
No description
ReflectionProvider
getReflectionProvider()
No description
PhpMethodReflectionFactory
getMethodReflectionFactory()
No description
Details
in
HasContainer at line 27
void
setContainer(Container $container)
No description
in
HasContainer at line 37
Container
getContainer()
Returns the current broker.
in
HasContainer at line 48
mixed
resolve(string $abstract)
Resolve the given type from the container.
at line 69
__construct(PhpMethodReflectionFactory $methodReflectionFactory, ReflectionProvider $reflectionProvider, Pipeline $pipeline, ClassReflection $classReflection, string $methodName)
Method constructor.
at line 86
ClassReflection
getClassReflection()
No description
at line 94
PassableContract
setClassReflection(ClassReflection $classReflection)
No description
at line 104
string
getMethodName()
No description
at line 112
bool
hasFound()
No description
at line 120
bool
searchOn(string $class)
No description
at line 136
MethodReflection
getMethodReflection()
No description
at line 148
void
setMethodReflection(MethodReflection $methodReflection)
No description
at line 156
void
setStaticAllowed(bool $staticAllowed)
Declares that the provided method can be called statically.
at line 164
bool
isStaticAllowed()
Returns whether the method can be called statically.
at line 172
bool
sendToPipeline(string $class, bool $staticAllowed = false)
No description
at line 205
ReflectionProvider
getReflectionProvider()
No description
at line 213
PhpMethodReflectionFactory
getMethodReflectionFactory()
No description