diff --git a/src/pjdietz/WellRESTed/Interfaces/RoutableInterface.php b/src/pjdietz/WellRESTed/Interfaces/RoutableInterface.php index 932062b..db6ca98 100644 --- a/src/pjdietz/WellRESTed/Interfaces/RoutableInterface.php +++ b/src/pjdietz/WellRESTed/Interfaces/RoutableInterface.php @@ -2,14 +2,8 @@ namespace pjdietz\WellRESTed\Interfaces; -interface RoutableInterface +interface RoutableInterface extends RequestInterface { - /** @return string HTTP request method (e.g., GET, POST, PUT). */ - public function getMethod(); - - /** @return string The path component of a URI for this Routeable */ - public function getPath(); - /** @return int The number of times a router has dispatched this Routable */ public function getRouteDepth(); diff --git a/src/pjdietz/WellRESTed/Request.php b/src/pjdietz/WellRESTed/Request.php index 82f2079..a31c4a1 100644 --- a/src/pjdietz/WellRESTed/Request.php +++ b/src/pjdietz/WellRESTed/Request.php @@ -31,7 +31,7 @@ use pjdietz\WellRESTed\Interfaces\RoutableInterface; * @property array query Associative array of query parameters * @property array uri Full URI (protocol, hostname, path, etc.) */ -class Request extends Message implements RequestInterface, RoutableInterface +class Request extends Message implements RoutableInterface { /** * Singleton instance derived from reading info from Apache.