| 1 | <?php |
||
| 18 | class Scope implements ScopeInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $name; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Scope constructor. |
||
| 27 | * |
||
| 28 | * @param string $name |
||
| 29 | */ |
||
| 30 | public function __construct(string $name) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function name(): string |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function __toString(): string |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function jsonSerialize() |
||
| 58 | } |
||
| 59 |