| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class LocaleScopeResolver extends SimpleScopeResolver |
||
| 13 | { |
||
| 14 | /** @var RequestStack */ |
||
| 15 | protected $request; |
||
| 16 | |||
| 17 | public function __construct(string $defaultScope, array $scopes, RequestStack $request) |
||
| 18 | { |
||
| 19 | parent::__construct($defaultScope, $scopes); |
||
| 20 | $this->request = $request; |
||
| 21 | } |
||
| 22 | |||
| 23 | |||
| 24 | public function getCurrentScope(): string |
||
| 27 | } |
||
| 28 | } |