| 1 | <?php |
||
| 19 | final class ScopeRepository implements ScopeRepositoryInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var ScopeInterface[] |
||
| 23 | */ |
||
| 24 | private $scopes = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * ScopeRepository constructor. |
||
| 28 | */ |
||
| 29 | public function __construct() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function has(string $scope): bool |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function get(string $scope): ScopeInterface |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public function all(): array |
||
| 61 | |||
| 62 | } |
||
| 63 |