Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
19 | class ArticleRestrictedValidator implements ValidatorInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var DbAdapterInterface |
||
23 | */ |
||
24 | protected $db; |
||
25 | /** |
||
26 | * @var LoggerInterface |
||
27 | */ |
||
28 | protected $log; |
||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $title; |
||
33 | /** |
||
34 | * @var WikiPageAction |
||
35 | */ |
||
36 | protected $wikiPageAction; |
||
37 | |||
38 | public function __construct(string $title, LoggerInterface $logger, DbAdapterInterface $db, WikiPageAction $wikiPageAction) |
||
44 | } |
||
45 | |||
46 | public function validate(): bool |
||
57 | } |
||
58 | } |