public function __construct(Client $client, Reactor $reactor, ResponseCache $responseCache, $userAgent = null) { if ($userAgent === null) { $userAgent = 'GithubArtaxService'; } parent::__construct($client, $reactor, $responseCache, $userAgent); $this->githubHydratorRegistry = new GithubHydratorRegistry(); }