RSSAmplifier

Jurian Sluiman · Jul 16, 2015

$app->notFound() for Slim v3

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

In Slim v2, there is the option to invoke the error or not found handler with respectively $app->error() or $app->notFound() inside your controller/closure. In Slim v3, the feature has been removed* but there is a way to manage the same result with middleware.

Read on jurian.slui.mn

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.