TijsVerkoyen\Twitter\Twitter::helpTos PHP Метод

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

Returns the Twitter Terms of Service in the requested format. These are not the same as the Developer Rules of the Road.
public helpTos ( ) : array
Результат array
    public function helpTos()
    {
        // make the call
        return $this->doCall('help/tos.json');
    }

Usage Example

Пример #1
0
 /**
  * Tests Twitter->helpTos()
  */
 public function testHelpTos()
 {
     $response = $this->twitter->helpTos();
     $this->assertArrayHasKey('tos', $response);
 }
Twitter