| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function toArray($request) |
||
| 17 | { |
||
| 18 | return [ |
||
| 19 | 'id' => $this->id, |
||
| 20 | 'name' => $this->name, |
||
| 21 | 'redirect' => $this->redirect, |
||
| 22 | 'user' => new UserResource($this->whenLoaded('user')), |
||
| 23 | 'personalAccessClient' => $this->personal_access_client, |
||
| 24 | 'passwordClient' => $this->password_client, |
||
| 25 | 'revoked' => $this->revoked, |
||
| 26 | 'createdAt' => $this->created_at, |
||
| 27 | 'updatedAt' => $this->updated_at, |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | } |
||
| 31 |