Completed
Push — master ( dcf652...3d17c5 )
by Vincenzo
02:18
created

UserGetAll   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A performAction() 0 4 1
1
<?php
2
3
4
namespace App\Actions\User;
5
6
7
use App\Actions\ApiAction;
8
use App\Models\User;
9
10
class UserGetAll extends ApiAction
11
{
12
13
    protected function performAction()
14
    {
15
        $this->payload = User::all();
16
    }
17
}