seregazhuk\PinterestBot\Api\Response::isEmpty PHP 메소드

isEmpty() 공개 메소드

Checks if response is empty.
public isEmpty ( ) : boolean
리턴 boolean
    public function isEmpty()
    {
        return empty($this->getResponseData());
    }

Usage Example

예제 #1
0
 /** @test */
 public function it_should_check_responses_with_data()
 {
     $response = new Response();
     $response->fill($this->createSuccessApiResponse());
     $this->assertFalse($response->isEmpty());
 }