protected function buildOptionsData() {
    $options_data = array(
      'lines' => array(),
      'padding' => 0,
    );

    // build the lines
    foreach($this->arguments_spec as $option_line_spec) {
      $options_data['lines'][] = $this->buildOptionLineData($option_line_spec);
    }

    // calculate padding
    $options_data['padding'] = $this->buildSwitchTextPaddingLength($options_data);

    return $options_data;
  }
protected function buildOptionsData() {
    $options_data = array(
      'lines' => array(),
      'padding' => 0,
    );

    // build the lines
    foreach($this->arguments_spec as $option_line_spec) {
      $options_data['lines'][] = $this->buildOptionLineData($option_line_spec);
    }

    // calculate padding
    $options_data['padding'] = $this->buildSwitchTextPaddingLength($options_data);

    return $options_data;
  }
protected function buildOptionsData ( ) { $ options_data = array ( 'lines' => array ( ) , 'padding' => 0 , ) ; // build the lines foreach ( $ this -> arguments_spec as $ option_line_spec ) { $ options_data [ 'lines' ] [ ] = $ this -> buildOptionLineData ( $ option_line_spec ) ; } // calculate padding $ options_data [ 'padding' ] = $ this -> buildSwitchTextPaddingLength ( $ options_data ) ; return $ options_data ; }
builds options data from the arguments spec

@return array Options data
builds options data from the arguments spec