protected static createClient ( array $options = [], array $server = [] ) | ||
$options | array | |
$server | array |
protected static function createClient(array $options = [], array $server = [])
{
static::bootKernel($options);
$client = new Client(static::$kernel);
$client->setServerParameters($server);
return $client;
}