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);
        }
    }
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);
        }
    }
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 ) ; } }
Set the definition configurator into definition object if it exists.

@param Definition $definition definition object to hydrate
@param array      $array      raw definition datas
Set the definition configurator into definition object if it exists .