Guest User

Untitled

a guest
Jan 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Dispatcher::applyFilter('_call', function($self, $params, $chain) {
  2. $callable = $params['callable'];
  3. if (isset($callable->response) && !$callable instanceof Closure) {
  4. Logger::adapter('default')->bind($callable->response);
  5. }
  6. return $chain->next($self, $params, $chain);
  7. });
Add Comment
Please, Sign In to add comment