for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Innmind\RestBundle;
use Innmind\RestBundle\Client\ServerFactory;
class Client
{
protected $server;
public function __construct(ServerFactory $server)
$this->server = $server;
}
/**
* Return a client for the given server
*
* @param string $host
* @return Server
*/
public function getServer($host)
return $this->server->make($host);