mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-23 13:14:17 +00:00
add new methods
This commit is contained in:
parent
d25634299e
commit
d3e978dbde
@ -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…
x
Reference in New Issue
Block a user