PHP 인터페이스 Kraken\Runtime\Command\CommandManagerInterface

파일 보기 프로젝트 열기: kraken-php/framework 0 사용 예제들

공개 메소드들

메소드 설명
__invoke ( string $name, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
execute ( string $name, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
exists ( string $name ) : boolean
export ( ) : Kraken\Runtime\Command\CommandInterface[]
get ( string $name ) : Kraken\Runtime\Command\CommandInterface | null
import ( Kraken\Runtime\Command\CommandInterface[] $commands )
remove ( string $name )
set ( string $name, Kraken\Runtime\Command\CommandInterface $command )

메소드 상세

__invoke() 공개 메소드

public __invoke ( string $name, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
$name string
$params mixed[]
리턴 Kraken\Promise\PromiseInterface

execute() 공개 메소드

public execute ( string $name, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
$name string
$params mixed[]
리턴 Kraken\Promise\PromiseInterface

exists() 공개 메소드

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

export() 공개 메소드

public export ( ) : Kraken\Runtime\Command\CommandInterface[]
리턴 Kraken\Runtime\Command\CommandInterface[]

get() 공개 메소드

public get ( string $name ) : Kraken\Runtime\Command\CommandInterface | null
$name string
리턴 Kraken\Runtime\Command\CommandInterface | null

import() 공개 메소드

public import ( Kraken\Runtime\Command\CommandInterface[] $commands )
$commands Kraken\Runtime\Command\CommandInterface[]

remove() 공개 메소드

public remove ( string $name )
$name string

set() 공개 메소드

public set ( string $name, Kraken\Runtime\Command\CommandInterface $command )
$name string
$command Kraken\Runtime\Command\CommandInterface