1 | <?php |
||
21 | final class ScopePolicyRule implements RuleInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var ScopePolicyManager |
||
25 | */ |
||
26 | private $scopePolicyManager; |
||
27 | |||
28 | /** |
||
29 | * @param ScopePolicyManager $scopePolicyManager |
||
30 | */ |
||
31 | public function __construct(ScopePolicyManager $scopePolicyManager) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function handle(DataBag $commandParameters, DataBag $validatedParameters, ?UserAccountId $userAccountId, callable $next): DataBag |
||
48 | } |
||
49 |