'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 ...$params * @return string */ public function reverseRoute(string $search, ...$params): string; //-------------------------------------------------------------------- /** * Determines if the route is a redirecting route. * * @param string $from * * @return bool */ public function isRedirect(string $from): bool; //-------------------------------------------------------------------- /** * Grabs the HTTP status code from a redirecting Route. * * @param string $from * * @return int */ public function getRedirectCode(string $from): int; //-------------------------------------------------------------------- }