Returns the name and if the feature is enabled. */ public function to_array(): array; /** * Returns this object represented by a key value structure that is compliant with the script data array. * * @return array Returns the legacy key and if the feature is enabled. */ public function to_legacy_array(): array; }