X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Frequest%2Fclass_Requestable.php;fp=inc%2Fclasses%2Finterfaces%2Frequest%2Fclass_Requestable.php;h=5a9ef492d067c7cf0d9b5843f5c821af97f7add3;hp=3693d94ad9473e0b8386134b31c19b5d6a42ccb6;hb=bb9fc73885ab80faa324ce6dd275e766b28221d9;hpb=88deca9fb4d77cdc34fb762070cad57da8cdd5be diff --git a/inc/classes/interfaces/request/class_Requestable.php b/inc/classes/interfaces/request/class_Requestable.php index 3693d94a..5a9ef492 100644 --- a/inc/classes/interfaces/request/class_Requestable.php +++ b/inc/classes/interfaces/request/class_Requestable.php @@ -77,6 +77,27 @@ interface Requestable extends FrameworkInterface { * @return $cookieValue Value of cookie or null if not found */ function readCookie ($cookieName); + + /** + * Checks if the request method is GET. + * + * @return $isGet Whether the request method is GET + */ + function isGetRequestMethod (); + + /** + * Checks if the request method is HEAD. + * + * @return $isHead Whether the request method is HEAD + */ + function isHeadRequestMethod (); + + /** + * Checks if the request method is POST. + * + * @return $isPost Whether the request method is POST + */ + function isPostRequestMethod (); } // [EOF]