private function setDefinitionArguments(Definition $definition, array $array)
    {
        if (true === array_key_exists('arguments', $array)) {
            foreach ($array['arguments'] as $arg) {
                $definition->addArgument($this->convertArgument($arg));
            }
        }
    }
private function setDefinitionArguments(Definition $definition, array $array)
    {
        if (true === array_key_exists('arguments', $array)) {
            foreach ($array['arguments'] as $arg) {
                $definition->addArgument($this->convertArgument($arg));
            }
        }
    }
private function setDefinitionArguments ( Definition $ definition , array $ array ) { if ( true === array_key_exists ( 'arguments' , $ array ) ) { foreach ( $ array [ 'arguments' ] as $ arg ) { $ definition -> addArgument ( $ this -> convertArgument ( $ arg ) ) ; } } }
Set the definition arguments into definition object if it exists.

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