PHP Class InterNations\Component\HttpMock\Server

Inheritance: extends Symfony\Component\Process\Process
Datei anzeigen Open project: internations/http-mock Class Usage Examples

Public Methods

Method Description
__construct ( $port, $host )
clean ( )
getBaseUrl ( )
getClient ( )
getConnectionString ( )
setUp ( array $expectations )
start ( callable $callback = null )
stop ( $timeout = 10, $signal = null )

Private Methods

Method Description
createClient ( )
pollWait ( )

Method Details

__construct() public method

public __construct ( $port, $host )

clean() public method

public clean ( )

getBaseUrl() public method

public getBaseUrl ( )

getClient() public method

public getClient ( )

getConnectionString() public method

public getConnectionString ( )

setUp() public method

public setUp ( array $expectations )
$expectations array

start() public method

public start ( callable $callback = null )
$callback callable

stop() public method

public stop ( $timeout = 10, $signal = null )