Completed
Push — master ( ff5b0d...faa513 )
by Tobias
05:10 queued 02:50
created

Norm::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Happyr\ApiClient\Api;
4
5
use Happyr\ApiClient\Model\Norm\Index;
6
use Psr\Http\Message\ResponseInterface;
7
8
/**
9
 * @author Tobias Nyholm <[email protected]>
10
 */
11
final class Norm extends HttpApi
12
{
13
    /**
14
     * @return Index|ResponseInterface
15
     */
16
    public function index()
17
    {
18
        $response = $this->httpGet('/api/norms');
19
20
        return $this->hydrateResponse($response, Index::class);
21
    }
22
}
23