getName() 공개 메소드

Gets the name of the cookie.
public getName ( ) : string
리턴 string The cookie name
예제 #1
0
 public function testGetName()
 {
     $cookie = new Cookie('foo', 'bar');
     $this->assertEquals('foo', $cookie->getName(), '->getName() returns the cookie name');
 }