savedSearchesDestroy() публичный Метод

Destroys a saved search for the authenticating user. The authenticating user must be the owner of saved search id being destroyed.
public savedSearchesDestroy ( string $id ) : array
$id string The ID of the saved search.
Результат array
Пример #1
0
 /**
  * Tests Twitter->savedSearchesDestroy()
  */
 public function testSavedSearchesDestroy()
 {
     $response = $this->twitter->savedSearchesCreate(time());
     $response = $this->twitter->savedSearchesDestroy($response['id']);
     $this->assertArrayHasKey('created_at', $response);
     $this->assertArrayHasKey('id', $response);
     $this->assertArrayHasKey('name', $response);
     $this->assertArrayHasKey('query', $response);
 }