| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Scope |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | public $name; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Scope|null |
||
| 19 | */ |
||
| 20 | public $parent; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | public $attributes = []; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | public $escapes = []; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var array |
||
| 34 | */ |
||
| 35 | public $elements = []; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The constructor |
||
| 39 | * |
||
| 40 | * @param string $name |
||
| 41 | * @param array $arguments |
||
| 42 | * @param Scope|null $parent |
||
| 43 | */ |
||
| 44 | public function __construct(string $name, array $arguments = [], ?Scope $parent = null) |
||
| 58 |