메소드 |
설명 |
|
__construct ( array $properties = [] ) : void |
Constructor. Will call set_error_handler() and pcntl_signal() to setup
your errorHandler() and signalHandler(). Also will call
register_shutdown_function() to register your shutdown() function. |
|
errorHandler ( integer $type, string $message, string $file, integer $line ) : boolean |
Your error handler. Be careful when implementing this one. |
|
init ( ) : void |
Called to initialize the application |
|
run ( ) : void |
Called to run the application, after calling init(). |
|
setLogger ( Psr\Log\LoggerInterface $logger ) : void |
Sets the logger implementation. |
|
shutdown ( ) : void |
Called when PHPvm is shutting down. |
|
signalHandler ( integer $signal ) : void |
Your signal handler. Be careful when implementing this one. |
|