public function __construct(Command $commandObj, $commandType) { $this->commandObj = $commandObj; $this->commandType = $commandType; $this->fieldNamesMapping = ['$FIELD_NAME_TITLE$' => 'fieldTitle', '$FIELD_NAME$' => 'fieldName']; $this->config = new GeneratorConfig(); }