PHP Class MyPAGIApplication, PAGI

Note: The client accepts an array with options. The available options are stdin => Optional. If set, should contain an already open stream from where the client will read data (useful to make it interact with fastagi servers or even text files to mock stuff when testing). If not set, stdin will be used by the client. stdout => Optional. Same as stdin but for the output of the client. PHP Version 5
Author: Marcelo Gornstein ([email protected])
Inheritance: extends PAGI\Application\PAGIApplication
Datei anzeigen Open project: marcelog/pagi Class Usage Examples

Public Methods

Method Description
errorHandler ( $type, $message, $file, $line ) (non-PHPdoc)
init ( ) (non-PHPdoc)
log ( string $msg ) : void Logs to asterisk console.
run ( ) (non-PHPdoc)
shutdown ( ) (non-PHPdoc)
signalHandler ( $signal ) (non-PHPdoc)

Method Details

errorHandler() public method

(non-PHPdoc)
public errorHandler ( $type, $message, $file, $line )

init() public method

(non-PHPdoc)
public init ( )

log() public method

Logs to asterisk console.
public log ( string $msg ) : void
$msg string Message to log.
return void

run() public method

(non-PHPdoc)
public run ( )

shutdown() public method

(non-PHPdoc)
public shutdown ( )

signalHandler() public method

(non-PHPdoc)
public signalHandler ( $signal )