original_string: public function deleteEvents($events)
      {
          $data = array (
                  'token'        => $this->apiToken,
                  'content'      => 'event',
                  'action'       => 'delete',
                  'returnFormat' => 'json',
          );
          
          $data['events'] = $this->processEventsArgument($events, $required = true);
          
          $result = $this->connection->callWithArray($data);
          
          $this->processNonExportResult($result);
          
          return (integer) $result;
      }
code: public function deleteEvents($events)
      {
          $data = array (
                  'token'        => $this->apiToken,
                  'content'      => 'event',
                  'action'       => 'delete',
                  'returnFormat' => 'json',
          );
          
          $data['events'] = $this->processEventsArgument($events, $required = true);
          
          $result = $this->connection->callWithArray($data);
          
          $this->processNonExportResult($result);
          
          return (integer) $result;
      }
code_tokens: public function deleteEvents ( $ events ) { $ data = array ( 'token' => $ this -> apiToken , 'content' => 'event' , 'action' => 'delete' , 'returnFormat' => 'json' , ) ; $ data [ 'events' ] = $ this -> processEventsArgument ( $ events , $ required = true ) ; $ result = $ this -> connection -> callWithArray ( $ data ) ; $ this -> processNonExportResult ( $ result ) ; return ( integer ) $ result ; }
docstring: Deletes the specified events from the project.
  
  @param array $events array of event names of events to delete.
  
  @throws PhpCapException if an error occurs, including if the events array is null or empty.
  
  @return integer the number of events deleted.
docstring_tokens: Deletes the specified events from the project .