final class Passable implements PassableContract

internal  
 

Traits

Properties

protected Container $container from  HasContainer

Methods

void
setContainer(Container $container)

No description

Container
getContainer()

Returns the current broker.

mixed
resolve(string $abstract)

Resolve the given type from the container.

__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

Parameters

Container $container

Return Value

void

in HasContainer at line 37
Container getContainer()

Returns the current broker.

Return Value

Container

in HasContainer at line 48
mixed resolve(string $abstract)

Resolve the given type from the container.

Parameters

string $abstract

Return Value

mixed

at line 69
__construct(PhpMethodReflectionFactory $methodReflectionFactory, ReflectionProvider $reflectionProvider, Pipeline $pipeline, ClassReflection $classReflection, string $methodName)

Method constructor.

Parameters

PhpMethodReflectionFactory $methodReflectionFactory
ReflectionProvider $reflectionProvider
Pipeline $pipeline
ClassReflection $classReflection
string $methodName

at line 86
ClassReflection getClassReflection()

No description

Return Value

ClassReflection

at line 94
PassableContract setClassReflection(ClassReflection $classReflection)

No description

Parameters

ClassReflection $classReflection

Return Value

PassableContract

at line 104
string getMethodName()

No description

Return Value

string

at line 112
bool hasFound()

No description

Return Value

bool

at line 120
bool searchOn(string $class)

No description

Parameters

string $class

Return Value

bool

at line 136
MethodReflection getMethodReflection()

No description

Return Value

MethodReflection

Exceptions

LogicException

at line 148
void setMethodReflection(MethodReflection $methodReflection)

No description

Parameters

MethodReflection $methodReflection

Return Value

void

at line 156
void setStaticAllowed(bool $staticAllowed)

Declares that the provided method can be called statically.

Parameters

bool $staticAllowed

Return Value

void

at line 164
bool isStaticAllowed()

Returns whether the method can be called statically.

Return Value

bool

at line 172
bool sendToPipeline(string $class, bool $staticAllowed = false)

No description

Parameters

string $class
bool $staticAllowed

Return Value

bool

at line 205
ReflectionProvider getReflectionProvider()

No description

Return Value

ReflectionProvider

at line 213
PhpMethodReflectionFactory getMethodReflectionFactory()

No description

Return Value

PhpMethodReflectionFactory