mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
add new methods
This commit is contained in:
parent
d25634299e
commit
d3e978dbde
1 changed files with 15 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue