Exemplo n.º 1
0
 /**
  * @return VersionEndpoint
  */
 public function version()
 {
     return $this->endpointFactory->getEndpoint(VersionEndpoint::class, $this->client);
 }
Exemplo n.º 2
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testGetEndpointError()
 {
     $factory = new EndpointFactory();
     $client = new GuzzleClient('', '', []);
     $factory->getEndpoint('test', $client);
 }
Exemplo n.º 3
0
 /**
  * @return TempoEndpoint
  */
 public function tempo()
 {
     return $this->endpointFactory->getEndpoint('tempo', $this->client);
 }