| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class SetArticleAuthorListener |
||
| 14 | { |
||
| 15 | /** @var TokenStorageInterface */ |
||
| 16 | private $tokenStorage; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | TokenStorageInterface $tokenStorage |
||
| 20 | ) { |
||
| 21 | $this->tokenStorage = $tokenStorage; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param LifecycleEventArgs $args |
||
| 26 | */ |
||
| 27 | public function prePersist(LifecycleEventArgs $args): void |
||
| 37 | } |
||
| 38 | } |
||
| 41 |