diff --git a/src/UserResource.php b/src/UserResource.php index 6f45ec4..1e7a5c6 100644 --- a/src/UserResource.php +++ b/src/UserResource.php @@ -218,7 +218,7 @@ public function toArray(): array * * @return mixed|null */ - private function getAttribute(string $key) + public function getAttribute(string $key) { return $this->attributes[$key] ?? null; }