url; } /** * Returns an array representation of the object. * * @return array */ public function toArray(): array { return [ 'url' => $this->url, ]; } /** * Constructs the object from an array representation. * * @param array $data * @return WebAppInfo */ public static function fromArray(array $data): self { $object = new self(); $object->url = $data['url']; return $object; } }