/** * Constructor * * @param string $username The github username * @param Client $client The client */ public function __construct($username, Client $client = null) { $feedUrl = sprintf(self::FEED_URL, $username); $profileUrl = sprintf(self::PROFILE_URL, $username); parent::__construct($feedUrl, $profileUrl, $client); }