PHP Trait Nette\SmartObject

- 'did you mean' hints - access to undeclared members throws exceptions - support for @property annotations - support for calling event handlers stored in $onEvent via onEvent() - compatible with Nette\Object
Afficher le fichier Open project: nette/utils

Méthodes publiques

Méthode Description
__call ( $name, $args ) : mixed
__callStatic ( $name, $args ) : void
__get ( $name ) : mixed
__isset ( $name ) : boolean
__set ( $name, $value ) : void
__unset ( $name ) : void
extensionMethod ( $name, $callback = NULL ) : mixed
getReflection ( ) : ClassType | ReflectionClass

Method Details

__call() public méthode

public __call ( $name, $args ) : mixed
Résultat mixed

__callStatic() public static méthode

public static __callStatic ( $name, $args ) : void
Résultat void

__get() public méthode

public __get ( $name ) : mixed
Résultat mixed property value

__isset() public méthode

public __isset ( $name ) : boolean
Résultat boolean

__set() public méthode

public __set ( $name, $value ) : void
Résultat void

__unset() public méthode

public __unset ( $name ) : void
Résultat void

extensionMethod() public static méthode

Deprecation: use Nette\Utils\ObjectMixin::setExtensionMethod()
public static extensionMethod ( $name, $callback = NULL ) : mixed
Résultat mixed

getReflection() public static méthode

Deprecation:
public static getReflection ( ) : ClassType | ReflectionClass
Résultat Nette\Reflection\ClassType | ReflectionClass