public function token($token) { $this->token = new Hidden('_token'); $this->token->value($token); return $this; }
public function open() { $open = new FormOpen(); if ($this->hasToken()) { $open->token($this->csrfToken); } return $open; }