'Controller::method/$1/$2' * * This method allows you to know the Controller and method * and get the route that leads to it. * * // Equals 'path/$param1/$param2' * reverseRoute('Controller::method', $param1, $param2); * * @param string $search * @param array ...$params * * @return string|false */ public function reverseRoute(string $search, ...$params); //-------------------------------------------------------------------- /** * Determines if the route is a redirecting route. * * @param string $from * * @return boolean */ public function isRedirect(string $from): bool; //-------------------------------------------------------------------- /** * Grabs the HTTP status code from a redirecting Route. * * @param string $from * * @return integer */ public function getRedirectCode(string $from): int; //-------------------------------------------------------------------- }