/** * @param array $data */ public function __construct(array $data = []) { parent::__construct(); $this->setContents($data); }