private function convertDefinitionToPhpArray(Definition $definition)
    {
        $definitionArray = [];
        if ($definition->isSynthetic()) {
            $definitionArray = $this->convertSyntheticDefinitionToPhpArray($definition);
        }

        $this->hydrateDefinitionClass($definition, $definitionArray);
        $this->hydrateDefinitionArguments($definition, $definitionArray);
        $this->hydrateDefinitionFactory($definition, $definitionArray);
        $this->hydrateDefinitionTags($definition, $definitionArray);
        $this->hydrateDefinitionMethodCalls($definition, $definitionArray);
        $this->hydrateDefinitionConfigurator($definition, $definitionArray);
        $this->hydrateDefinitionParent($definition, $definitionArray);
        $this->hydrateDefinitionScopeProperty($definition, $definitionArray);
        $this->hydrateDefinitionPublicProperty($definition, $definitionArray);
        $this->hydrateDefinitionAbstractProperty($definition, $definitionArray);
        $this->hydrateDefinitionFileProperty($definition, $definitionArray);

        return $definitionArray;
    }
private function convertDefinitionToPhpArray(Definition $definition)
    {
        $definitionArray = [];
        if ($definition->isSynthetic()) {
            $definitionArray = $this->convertSyntheticDefinitionToPhpArray($definition);
        }

        $this->hydrateDefinitionClass($definition, $definitionArray);
        $this->hydrateDefinitionArguments($definition, $definitionArray);
        $this->hydrateDefinitionFactory($definition, $definitionArray);
        $this->hydrateDefinitionTags($definition, $definitionArray);
        $this->hydrateDefinitionMethodCalls($definition, $definitionArray);
        $this->hydrateDefinitionConfigurator($definition, $definitionArray);
        $this->hydrateDefinitionParent($definition, $definitionArray);
        $this->hydrateDefinitionScopeProperty($definition, $definitionArray);
        $this->hydrateDefinitionPublicProperty($definition, $definitionArray);
        $this->hydrateDefinitionAbstractProperty($definition, $definitionArray);
        $this->hydrateDefinitionFileProperty($definition, $definitionArray);

        return $definitionArray;
    }
private function convertDefinitionToPhpArray ( Definition $ definition ) { $ definitionArray = [ ] ; if ( $ definition -> isSynthetic ( ) ) { $ definitionArray = $ this -> convertSyntheticDefinitionToPhpArray ( $ definition ) ; } $ this -> hydrateDefinitionClass ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionArguments ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionFactory ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionTags ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionMethodCalls ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionConfigurator ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionParent ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionScopeProperty ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionPublicProperty ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionAbstractProperty ( $ definition , $ definitionArray ) ; $ this -> hydrateDefinitionFileProperty ( $ definition , $ definitionArray ) ; return $ definitionArray ; }
Convert a single definition entity into array.

@param Definition $definition the definition to convert

@return array the definition converted into array
Convert a single definition entity into array .