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