getSecure() public method

public getSecure ( ) : boolean
return boolean whether the cookie should only be transmitted over a secure HTTPS connection
コード例 #1
0
ファイル: THttpCookieTest.php プロジェクト: pradosoft/prado
 public function testSetSecure()
 {
     $cookie = new THttpCookie('name', 'value');
     $cookie->setSecure(true);
     self::assertTrue($cookie->getSecure());
 }