| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Auth implements AuthInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $token; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * AuthInterface constructor. |
||
| 22 | * |
||
| 23 | * @param string $token |
||
| 24 | */ |
||
| 25 | 1 | public function __construct(string $token) |
|
| 26 | { |
||
| 27 | 1 | $this->setToken($token); |
|
| 28 | 1 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param $token |
||
| 32 | */ |
||
| 33 | 1 | private function setToken($token) |
|
| 36 | 1 | } |
|
| 37 | } |
||
| 38 |