public function __construct($id, $name = null, $country = null, $provider = null) { $this->id = $id; $this->name = $name; $this->country = $country; $this->provider = $provider; }