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