PHP Class ManaPHP\Component

Inheritance: implements manaphp\ComponentInterface
Afficher le fichier Open project: manaphp/manaphp Class Usage Examples

Protected Properties

Свойство Type Description
$_dependencyInjector Di

Méthodes publiques

Méthode Description
__debugInfo ( ) : array
__get ( string $name ) : mixed Magic method __get
__isset ( string $name ) : boolean
__set ( string $name, mixed $value ) : void
attachEvent ( string $event, callable $handler ) : static Attach a listener to the events manager
dump ( ) : array
fireEvent ( string $event, array $data = [] ) : boolean | null Fires an event in the events manager causing that the active listeners will be notified about it
getDependencyInjector ( ) : Di Returns the internal dependency injector
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static Sets the dependency injector

Method Details

__debugInfo() public méthode

public __debugInfo ( ) : array
Résultat array

__get() public méthode

Magic method __get
public __get ( string $name ) : mixed
$name string
Résultat mixed

__isset() public méthode

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

__set() public méthode

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

attachEvent() public méthode

Attach a listener to the events manager
public attachEvent ( string $event, callable $handler ) : static
$event string
$handler callable
Résultat static

dump() public méthode

public dump ( ) : array
Résultat array

fireEvent() public méthode

Fires an event in the events manager causing that the active listeners will be notified about it
public fireEvent ( string $event, array $data = [] ) : boolean | null
$event string
$data array
Résultat boolean | null

getDependencyInjector() public méthode

Returns the internal dependency injector
public getDependencyInjector ( ) : Di
Résultat Di

setDependencyInjector() public méthode

Sets the dependency injector
public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static
$dependencyInjector ManaPHP\DiInterface
Résultat static

Property Details

$_dependencyInjector protected_oe property

protected Di,ManaPHP $_dependencyInjector
Résultat Di