diff --git a/src/app/model/request.php b/src/app/model/request.php index e26d732..d63470d 100644 --- a/src/app/model/request.php +++ b/src/app/model/request.php @@ -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); + } }