/** * Check if model get POST-based request as submit of SEND data * @return bool * @throws \InvalidArgumentException */ public final function send() { if (!Str::equalIgnoreCase($this->_sendMethod, App::$Request->getMethod())) { return false; } return $this->getRequest('submit', $this->_sendMethod) !== null; }