Showing 7 of 1,216 result(s)
value($value) The value function will return the default value of the supplied $value . Although this sounds redundant, if the supplied $value is an instance of the Closure class, the function will be executed and the value will be returned. If...
windows_os The windows_os helper function can be used to determine if the host server is running a Microsoft Windows® operating system. The function returns either true —if the server is running Windows®—or false —if the server is not running...
with($object) The with function will simply return the supplied $object . This function can be used to invoke methods on new class instances that are passed as function arguments: In the above example, $value would be contain the value some value...
delete($uri, $action) The delete function is a shortcut to registering a route with the router that responds to the DELETE HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when...
get($uri, $action) The get function is a shortcut to registering a route with the router that responds to the GET HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the route...
patch($uri, $action) The patch function is a shortcut to registering a route with the router that responds to the PATCH HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the...
post($uri, $action) The post function is a shortcut to registering a route with the router that responds to the POST HTTP verb. The $uri is the URI of the route, such as / or login . The $action is what will be executed by the router when the...