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.

BY Best Interview Question ON 30 Jan 2019