| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractAuthConfig implements AuthConfigInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var bool |
||
| 11 | */ |
||
| 12 | private $handleUpdates = false; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | private $expireSeconds = 86400; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function getExpireSeconds(): int |
||
| 23 | { |
||
| 24 | return $this->expireSeconds; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function setExpireSeconds(int $expireSeconds): self |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function isHandleUpdates(): bool |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function setHandleUpdates(bool $handleUpdates): AuthConfigInterface |
||
| 52 |