diff --git a/src/Result.php b/src/Result.php index 68846e9..f7a6847 100644 --- a/src/Result.php +++ b/src/Result.php @@ -97,6 +97,11 @@ public function __construct(array $rawData) } } + public function toArray(): array + { + return $this->data; + } + public function __get($key) { return data_get($this->data, $key);