PHP Class InterNations\Component\HttpMock\Server

Inheritance: extends Symfony\Component\Process\Process
Afficher le fichier Open project: internations/http-mock Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
createClient ( )
pollWait ( )

Method Details

__construct() public méthode

public __construct ( $port, $host )

clean() public méthode

public clean ( )

getBaseUrl() public méthode

public getBaseUrl ( )

getClient() public méthode

public getClient ( )

getConnectionString() public méthode

public getConnectionString ( )

setUp() public méthode

public setUp ( array $expectations )
$expectations array

start() public méthode

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

stop() public méthode

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