APIKey::REGISTRATION ]; } public function toArray() { return [ 'name' => $this->name, 'token' => $this->token, 'type' => $this->type ]; } }