hasCookie() 공개 정적인 메소드

Determine if a cookie is set on the request.
public static hasCookie ( string $key ) : boolean
$key string
리턴 boolean
 public function testHasCookie()
 {
     $this->assertThat($this->object->hasCookie('undefined cookie'), $this->equalTo(false));
     $this->assertThat($this->object->hasCookie('user'), $this->equalTo(true));
 }