Example #1
0
 /**
  * @return Request|$this
  */
 public function csrf()
 {
     $this->addPostFields(['_token' => $this->client->getSession()->getToken()]);
     return $this;
 }
Example #2
0
 /**
  * @return Session
  */
 public function getSession()
 {
     return $this->client->getSession();
 }