private function setDefinitionConfigurator(Definition $definition, array $array)
    {
        if (isset($array['configurator'])) {
            $configurator = $array['configurator'];
            if (is_array($configurator)) {
                $configurator[0] = $this->convertArgument($configurator[0]);
            }

            $definition->setConfigurator($configurator);
        }
    }