Pneuma Framework

CgiInterface

Describes CGI interface.

Table of Contents

Methods

withBaseCgi()  : static
Return an instance with provided base cgi path.
withBaseRoute()  : static
Return an instance with provided base route path.
withBaseUrl()  : static
Return an instance with provided base url.
withErrorHandler()  : static
Return an instance with provided error handler.

Methods

withBaseCgi()

Return an instance with provided base cgi path.

public withBaseCgi(string $path) : static
Parameters
$path : string

The base path.

Tags
throws
PneumaException

If invalid.

Return values
static

withBaseRoute()

Return an instance with provided base route path.

public withBaseRoute(string $path) : static
Parameters
$path : string

The base path.

Tags
throws
PneumaException

If invalid.

Return values
static

withBaseUrl()

Return an instance with provided base url.

public withBaseUrl(string $url) : static
Parameters
$url : string

The base url.

Tags
throws
PneumaException

If invalid.

Return values
static

withErrorHandler()

Return an instance with provided error handler.

public withErrorHandler(callable $errorHandler) : static
Parameters
$errorHandler : callable

The error handler.

Return values
static

        
On this page

Search results