src/Routing/RouteFacade.php
/**
	 * Registers a new PUT route with the router.
	 *
	 * @param string $uri
	 * @param Closure|array|string $action
	 * @param string|null $fallback Path to a php file, relative to the root directory, to use for fallback routing.
	 * @return Route
	 */
Registers a new PUT route with the router.
@param string $uri
@param Closure|array|string $action
@param string|null $fallback Path to a php file, relative to the root directory, to use for fallback routing.
@return Route
Registers a new PUT route with the router . @param string $uri @param Closure|array|string $action @param string|null $fallback Path to a php file relative to the root directory to use for fallback routing . @return Route
public static function put($uri, $action = null, $fallback = null) {
		if (is_null($action)) {
			$action = $uri;
			$uri = '';
		}
		$route = static::router()->createPutRoute($uri, $action);
		if (!is_null($fallback)) {
			$route->fallback($fallback);
		}
		return $route;
	}
public static function put ( $ uri , $ action = null , $ fallback = null ) { if ( is_null ( $ action ) ) { $ action = $ uri ; $ uri = '' ; } $ route = static :: router ( ) -> createPutRoute ( $ uri , $ action ) ; if ( ! is_null ( $ fallback ) ) { $ route -> fallback ( $ fallback ) ; } return $ route ; }
Registers a new PUT route with the router.
Registers a new PUT route with the router .