Example #1
0
 /**
  * Trying to get csrf token from cookies.
  *
  * @return $this
  */
 public function setTokenFromCookies()
 {
     $this->csrfToken = $this->httpClient->cookie('csrftoken');
     return $this;
 }