add new methods

This commit is contained in:
ghost 2023-09-26 22:52:49 +03:00
parent d25634299e
commit d3e978dbde

View File

@ -51,4 +51,19 @@ class AppModelRequest {
return false;
}
}
public function hasPost() : bool
{
return !empty($this->_post);
}
public function hasGet() : bool
{
return !empty($this->_post);
}
public function hasFiles() : bool
{
return !empty($this->_post);
}
}