class ComponentReflection extends ReflectionClass

internal  
 

Helpers for Presenter & Component.

Properties

string read-only $name
string read-only $fileName

Methods

array
getPersistentParams($class = null)

No description

array
getPersistentComponents($class = null)

No description

saveState(Component $component, array $params)

Saves state informations for next request.

bool
hasCallableMethod($method)

Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.

static array
combineArgs(ReflectionFunctionAbstract $method, $args)

No description

static bool
convertType($val, $type, $isClass = false)

Non data-loss type conversion.

static array|false
parseAnnotation(Reflector $ref, $name)

Returns an annotation value.

static array
getParameterType(ReflectionParameter $param)

No description

bool
hasAnnotation($name)

Has class specified annotation?

mixed
getAnnotation($name)

Returns an annotation value.

getMethod($name)

No description

getMethods($filter = -1)

No description

__toString()

No description

__get($name)

No description

__call($name, $args)

No description

Details

at line 39
array getPersistentParams($class = null)

No description

Parameters

$class

Return Value

array

of persistent parameters.

at line 77
array getPersistentComponents($class = null)

No description

Parameters

$class

Return Value

array

of persistent components.

at line 101
saveState(Component $component, array $params)

Saves state informations for next request.

Parameters

Component $component
array $params

at line 142
bool hasCallableMethod($method)

Is a method callable? It means class is instantiable and method has public visibility, is non-static and non-abstract.

Parameters

$method

Return Value

bool

at line 161
static array combineArgs(ReflectionFunctionAbstract $method, $args)

No description

Parameters

ReflectionFunctionAbstract $method
$args

Return Value

array

at line 202
static bool convertType($val, $type, $isClass = false)

Non data-loss type conversion.

Parameters

$val
$type
$isClass

Return Value

bool

at line 239
static array|false parseAnnotation(Reflector $ref, $name)

Returns an annotation value.

Parameters

Reflector $ref
$name

Return Value

array|false

at line 258
static array getParameterType(ReflectionParameter $param)

No description

Parameters

ReflectionParameter $param

Return Value

array

[string|null, bool]

at line 293
bool hasAnnotation($name)

Has class specified annotation?

Parameters

$name

Return Value

bool

at line 304
mixed getAnnotation($name)

Returns an annotation value.

Parameters

$name

Return Value

mixed

at line 314
MethodReflection getMethod($name)

No description

Parameters

$name

Return Value

MethodReflection

at line 323
MethodReflection[] getMethods($filter = -1)

No description

Parameters

$filter

Return Value

MethodReflection[]

at line 332
__toString()

No description

at line 339
__get($name)

No description

Parameters

$name

at line 346
__call($name, $args)

No description

Parameters

$name
$args

Traits

SmartObject