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]];
            }
        }
    }
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]];
            }
        }
    }
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 ] ] ; } } }
Try to hydrate definition array method calls with definition entity.

@param Definition $definition       the definition to convert
@param array      $definitionArray the definition array (passed by reference)
Try to hydrate definition array method calls with definition entity .