$this->from, 'fromLabel' => $this->fromLabel, 'to' => $this->to, 'toLabel' => $this->toLabel, ]; } /** * @since 26.0.0 */ public static function fromArray(array $data): LanguageTuple { return new self( $data['from'], $data['fromLabel'], $data['to'], $data['toLabel'], ); } }