Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dispatcher::applyFilter('_call', function($self, $params, $chain) {
- $callable = $params['callable'];
- if (isset($callable->response) && !$callable instanceof Closure) {
- Logger::adapter('default')->bind($callable->response);
- }
- return $chain->next($self, $params, $chain);
- });
Add Comment
Please, Sign In to add comment