Methods summary
public static
|
|
public static
|
|
public static
|
#
strictCall( $class, $method, $additionalMethods = [] )
|
public static
|
|
public static
mixed
|
#
call( object $_this, string $name, array $args )
__call() implementation.
Parameters
Returns
mixed mixed
Throws
|
public static
|
#
callStatic( string $class, string $method, array $args )
__callStatic() implementation.
__callStatic() implementation.
Parameters
Throws
|
public static
mixed
&
|
#
get( object $_this, string $name )
__get() implementation.
Parameters
Returns
mixed property value
Throws
|
public static
|
#
set( object $_this, string $name, mixed $value )
__set() implementation.
Parameters
- $_this
- $name
- name
- $value
- value
Throws
|
public static
|
#
remove( object $_this, string $name )
__unset() implementation.
__unset() implementation.
Parameters
Throws
|
public static
boolean
|
#
has( object $_this, string $name )
__isset() implementation.
__isset() implementation.
Parameters
Returns
boolean bool
|
public static
|
|
public static
|
|
public static
array
|
#
getMagicMethods( $class )
Returns array of magic methods defined by annotation @method.
Returns array of magic methods defined by annotation @method.
Returns
array array
|
public static
boolean
|
#
checkType( & $val, $type )
Finds whether a variable is of expected type and do non-data-loss
conversion.
Finds whether a variable is of expected type and do non-data-loss
conversion.
Returns
boolean bool
Internal
|
public static
|
#
setExtensionMethod( string $class, string $name, mixed $callback )
Adds a method to class.
Parameters
- $class
- $name
- $callback
- callable
|
public static
mixed
|
#
getExtensionMethod( string $class, string $name )
Returns extension method.
Returns extension method.
Parameters
Returns
mixed mixed
|
public static
array
|
#
getExtensionMethods( string $class )
Returns extension methods.
Returns extension methods.
Parameters
Returns
array array
|
public static
|
|
public static
|
|
public static
array
&
|
#
getMethods( $class )
Returns array of public (static, non-static and magic) methods.
Returns array of public (static, non-static and magic) methods.
Returns
array array
Internal
|
public static
|
|