private function hydrateDefinitionConfigurator(Definition $definition, array &$definitionArray)
    {
        if (null !== $configurator = $definition->getConfigurator()) {
            if (is_string($configurator)) {
                $definitionArray['configurator'] = $definition->getConfigurator();
            } else {
                $definitionArray['configurator'] = [$this->convertArgument($configurator[0]), $configurator[1]];
            }
        }
    }