public function __construct($contents = '', array $data = []) { $this->content = $contents; $this->data = $data; }