PHP 클래스 Aerys\Process

파일 보기 프로젝트 열기: amphp/aerys 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Psr\Log\LoggerInterface $logger )
start ( Console $console ) : Generator Start the process
stop ( ) : Generator Stop the process

보호된 메소드들

메소드 설명
doStart ( Console $console ) : Generator
doStop ( ) : Generator
exit ( ) This function only exists as protected so we can test for its invocation

비공개 메소드들

메소드 설명
registerErrorHandler ( )
registerShutdownHandler ( )
registerSignalHandler ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface

doStart() 추상적인 보호된 메소드

abstract protected doStart ( Console $console ) : Generator
$console Console
리턴 Generator

doStop() 추상적인 보호된 메소드

abstract protected doStop ( ) : Generator
리턴 Generator

exit() 보호된 메소드

This function only exists as protected so we can test for its invocation
protected exit ( )

start() 공개 메소드

Start the process
public start ( Console $console ) : Generator
$console Console
리턴 Generator

stop() 공개 메소드

Stop the process
public stop ( ) : Generator
리턴 Generator