PHP Класс Aerys\Process

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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