public function __construct($id = null, Client $client = null) { $this->setClient($client); $this->setData('id', $id); }