public function __construct($data) { $this->data = $data; $this->signature = $this->create_expected_signature(); }