| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CommandData extends Data |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Command type graphql. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public static $COMMAND_TYPE_GRAPHQL = 'graphql'; |
||
| 17 | /** |
||
| 18 | * Command type graphql_scaffold. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public static $COMMAND_TYPE_GRAPHQL_SCAFFOLD = 'graphql_scaffold'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Constructor. |
||
| 26 | * |
||
| 27 | * @param Command $commandObj Command object. |
||
| 28 | * @param string|string[] $commandType Commant type. |
||
| 29 | * @param TemplatesManager $templatesManager Template Manager. |
||
| 30 | */ |
||
| 31 | public function __construct(Command $commandObj, $commandType, TemplatesManager $templatesManager = null) |
||
| 38 |