| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class DirectiveExecution extends Execution implements DirectiveExecutionInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private string $name; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * DirectiveExecution constructor. |
||
| 29 | * |
||
| 30 | * @param string $name |
||
| 31 | * @param DefinitionInterface $context |
||
| 32 | * @param iterable $arguments |
||
| 33 | */ |
||
| 34 | public function __construct(string $name, DefinitionInterface $context, iterable $arguments = []) |
||
| 35 | { |
||
| 36 | $this->name = $name; |
||
| 37 | |||
| 38 | parent::__construct($context, $arguments); |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritDoc} |
||
| 43 | */ |
||
| 44 | public function getName(): string |
||
| 47 | } |
||
| 48 | } |
||
| 49 |