private function buildDefinition(array $array)
    {
        $definition = null;
        if (isset($array['parent'])) {
            $definition = new DefinitionDecorator($array['parent']);
        } else {
            $definition = new Definition();
        }

        if (isset($array['synthetic'])) {
            $definition->setSynthetic($array['synthetic']);
        }

        $this->setDefinitionClass($definition, $array);
        $this->setDefinitionArguments($definition, $array);
        $this->setDefinitionFactory($definition, $array);
        $this->setDefinitionTags($definition, $array);
        $this->setDefinitionMethodCalls($definition, $array);
        $this->setDefinitionProperties($definition, $array);
        $this->setDefinitionConfigurator($definition, $array);

        return $definition;
    }
private function buildDefinition(array $array)
    {
        $definition = null;
        if (isset($array['parent'])) {
            $definition = new DefinitionDecorator($array['parent']);
        } else {
            $definition = new Definition();
        }

        if (isset($array['synthetic'])) {
            $definition->setSynthetic($array['synthetic']);
        }

        $this->setDefinitionClass($definition, $array);
        $this->setDefinitionArguments($definition, $array);
        $this->setDefinitionFactory($definition, $array);
        $this->setDefinitionTags($definition, $array);
        $this->setDefinitionMethodCalls($definition, $array);
        $this->setDefinitionProperties($definition, $array);
        $this->setDefinitionConfigurator($definition, $array);

        return $definition;
    }
private function buildDefinition ( array $ array ) { $ definition = null ; if ( isset ( $ array [ 'parent' ] ) ) { $ definition = new DefinitionDecorator ( $ array [ 'parent' ] ) ; } else { $ definition = new Definition ( ) ; } if ( isset ( $ array [ 'synthetic' ] ) ) { $ definition -> setSynthetic ( $ array [ 'synthetic' ] ) ; } $ this -> setDefinitionClass ( $ definition , $ array ) ; $ this -> setDefinitionArguments ( $ definition , $ array ) ; $ this -> setDefinitionFactory ( $ definition , $ array ) ; $ this -> setDefinitionTags ( $ definition , $ array ) ; $ this -> setDefinitionMethodCalls ( $ definition , $ array ) ; $ this -> setDefinitionProperties ( $ definition , $ array ) ; $ this -> setDefinitionConfigurator ( $ definition , $ array ) ; return $ definition ; }
Build a definition from the definition's array provided as current method parameter.

@param array $array the raw definition's array

@return Symfony\Component\DependencyInjection\Definition the definition object
Build a definition from the definition s array provided as current method parameter .