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