response = $response; $this->resourceOwnerId = $resourceOwnerId; } public function getId() { return $this->response[$this->resourceOwnerId]; } public function toArray() : array { return $this->response; } }