public function __construct(\stdClass $attributes, Client $client) { $this->attributes = $attributes; $this->client = $client; }