protected function extractAllLongOpts(ArgumentsSpec $arguments_spec, $parsed_args) {
    $long_opts = array();

    foreach ($parsed_args['options'] as $option_name => $value) {
      if ($long_option_name = $arguments_spec->normalizeOptionName($option_name)) {
        $long_opts[$long_option_name] = $value;
      }
    }

    return $long_opts;
  }
protected function extractAllLongOpts(ArgumentsSpec $arguments_spec, $parsed_args) {
    $long_opts = array();

    foreach ($parsed_args['options'] as $option_name => $value) {
      if ($long_option_name = $arguments_spec->normalizeOptionName($option_name)) {
        $long_opts[$long_option_name] = $value;
      }
    }

    return $long_opts;
  }
protected function extractAllLongOpts ( ArgumentsSpec $ arguments_spec , $ parsed_args ) { $ long_opts = array ( ) ; foreach ( $ parsed_args [ 'options' ] as $ option_name => $ value ) { if ( $ long_option_name = $ arguments_spec -> normalizeOptionName ( $ option_name ) ) { $ long_opts [ $ long_option_name ] = $ value ; } } return $ long_opts ; }
builds argument values by long option name

@param ArgumentsSpec $arguments_spec The arguments specification
@param array         $parsed_args    data parsed by the ArgumentsParser

@return array argument values by long option name
builds argument values by long option name