| Total Complexity | 2 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 10 | trait RequiresAuthenticator  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * @var JWTAuthenticator|null  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $jwtAuthenticator = null;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * @return JWTAuthenticator|null  | 
            ||
| 19 | */  | 
            ||
| 20 | protected function getJWTAuthenticator(): ?JWTAuthenticator  | 
            ||
| 21 |     { | 
            ||
| 22 | return $this->jwtAuthenticator;  | 
            ||
| 23 | }  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * Inject authenticator this mutation should use  | 
            ||
| 27 | *  | 
            ||
| 28 | * @param JWTAuthenticator $authenticator  | 
            ||
| 29 | * @return $this  | 
            ||
| 30 | */  | 
            ||
| 31 | public function setJWTAuthenticator(JWTAuthenticator $authenticator): self  | 
            ||
| 35 | }  | 
            ||
| 36 | }  | 
            ||
| 37 |