PHP 클래스 ManaPHP\Component

상속: implements manaphp\ComponentInterface
파일 보기 프로젝트 열기: manaphp/manaphp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_dependencyInjector Di

공개 메소드들

메소드 설명
__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

메소드 상세

__debugInfo() 공개 메소드

public __debugInfo ( ) : array
리턴 array

__get() 공개 메소드

Magic method __get
public __get ( string $name ) : mixed
$name string
리턴 mixed

__isset() 공개 메소드

public __isset ( string $name ) : boolean
$name string
리턴 boolean

__set() 공개 메소드

public __set ( string $name, mixed $value ) : void
$name string
$value mixed
리턴 void

attachEvent() 공개 메소드

Attach a listener to the events manager
public attachEvent ( string $event, callable $handler ) : static
$event string
$handler callable
리턴 static

dump() 공개 메소드

public dump ( ) : array
리턴 array

fireEvent() 공개 메소드

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
리턴 boolean | null

getDependencyInjector() 공개 메소드

Returns the internal dependency injector
public getDependencyInjector ( ) : Di
리턴 Di

setDependencyInjector() 공개 메소드

Sets the dependency injector
public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static
$dependencyInjector ManaPHP\DiInterface
리턴 static

프로퍼티 상세

$_dependencyInjector 보호되어 있는 프로퍼티

protected Di,ManaPHP $_dependencyInjector
리턴 Di