for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pixela\Api;
abstract class Api implements ApiInterface
{
const API_BASE_ENDPOINT = 'https://pixe.la/v1';
/**
* @var \Pixela\ClientInterface
*/
private $client;
* Client constructor.
* @param \Pixela\ClientInterface $client
public function __construct(\Pixela\ClientInterface $client)
$this->client = $client;
}
* @return \Pixela\ClientInterface
public function getClient()
return $this->client;
public function setClient(\Pixela\ClientInterface $client)