cookieFile() public static method

$cookieFile must be a correct path with write permission
public static cookieFile ( string $cookieFile )
$cookieFile string - path to file for saving cookie
Ejemplo n.º 1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->output = new ConsoleOutput();
     Request::verifyPeer(false);
     Request::verifyHost(false);
     Request::cookieFile('/tmp/cookie.dat');
 }