public function serialize() { return serialize([$this->code, $this->context, $this->requiredVariables, $this->extraVariables]); }