1 | <?php |
||
21 | final class ScopeRule implements Rule |
||
22 | { |
||
23 | /** |
||
24 | * @var ScopeRepository |
||
25 | */ |
||
26 | private $scopeManager; |
||
27 | |||
28 | /** |
||
29 | * @param ScopeRepository $scopeManager |
||
30 | */ |
||
31 | public function __construct(ScopeRepository $scopeManager) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function handle(ClientId $clientId, DataBag $commandParameters, DataBag $validatedParameters, callable $next): DataBag |
||
54 | } |
||
55 |