You can define the handler as any callback type.
You can set this to any callback type, including anonymous functions.
Vous pouvez définir ceci pour n'importe quel type de callback, incluant les fonctions anonymes.
You can create an error handler out of any callback type.
Vous pouvez créer un gestionnaire d'erreur à partir de n'importe quel type de callback.
Since you can define an error handler as any callback type, you could use an anonymous function if you are using PHP5.3 or greater.
Depuis que vous pouvez définir un gestionnaire d'erreur comme tout type de callback, vous pouvez utiliser une fonction anonyme si vous utilisez PHP5.3 ou supérieur.
This documentation used callback type information for the same purpose.
Cette documentation utilise le type callback qui revient exactement au même.
You can set this to any callback type, including anonymous functions.
Vous pouvez définir cela à n'importe quel callback, en incluant les fonctions anonymes.
For the "callback" filter, callback type should be passed.
Callbacks should be specified via the 'callback' option passed in the decorator configuration, and can be any valid PHP callback type.
Les fonctions doivent être spécifiées grâce à l'option 'callback' passée à la configuration du décorateur, et peut être n'importe quelle fonction PHP valide.