Each routing method in Slim Framework will accept a callback routine as the final argument. The last case may be any PHP callable.

By default, the framework allows three arguments - Request, Response, arguments.

An argument is a function that specifies the actions to be taken when a route is matched to a request. It includes values for the existing route’s specific placeholders.

Suggest An Answer

No suggestions Available!