original_string: public function buildApplication($applicationId, $platforms = array())
      {
          $options = array();
          if (! empty($platforms)) {
              if (! is_array($platforms)) {
                  $platforms = array($platforms);
              }
              $options['platforms'] = $platforms;
          }
  
          return $this->request(array('apps', $applicationId, 'build'), 'post', $options);
      }
code: public function buildApplication($applicationId, $platforms = array())
      {
          $options = array();
          if (! empty($platforms)) {
              if (! is_array($platforms)) {
                  $platforms = array($platforms);
              }
              $options['platforms'] = $platforms;
          }
  
          return $this->request(array('apps', $applicationId, 'build'), 'post', $options);
      }
code_tokens: public function buildApplication ( $ applicationId , $ platforms = array ( ) ) { $ options = array ( ) ; if ( ! empty ( $ platforms ) ) { if ( ! is_array ( $ platforms ) ) { $ platforms = array ( $ platforms ) ; } $ options [ 'platforms' ] = $ platforms ; } return $ this -> request ( array ( 'apps' , $ applicationId , 'build' ) , 'post' , $ options ) ; }
docstring: Start building application
  
  @link http://docs.build.phonegap.com/en_US/developer_api_write.md.html#_post_https_build_phonegap_com_api_v1_apps_id_build
  
  @param mixed: int | string $applicationId
  @param array | string $platforms - platform name ('android', 'ios', ...')
  
  @return mixed: array on success | false on fail
docstring_tokens: Start building application