Loading…

What is Hook in Slim Framework and how it is used?

In the Slim Framework, a hook is used to register a callback. Identified by string names, a hook is an instance at which the callables will get invoked as per the priority list assigned. It is possible to attach multiple callables to a single hook by using the hook() method.

Suggest An Answer

No suggestions avaliable!

Latest post from Slim Interview Questions

Ask Question