src/Slushie/Middleware/Loader.php
protected function createAfterFilter() {
    $after = $this->after;

    return function ($request, $response) use ($after) {
      foreach ($after as $filter) {
        $filter->onAfter($request, $response);
      }
    };
  }
protected function createAfterFilter() {
    $after = $this->after;

    return function ($request, $response) use ($after) {
      foreach ($after as $filter) {
        $filter->onAfter($request, $response);
      }
    };
  }
protected function createAfterFilter ( ) { $ after = $ this -> after ; return function ( $ request , $ response ) use ( $ after ) { foreach ( $ after as $ filter ) { $ filter -> onAfter ( $ request , $ response ) ; } } ; }
Generate a callback function that iterates over
all AfterInterface middleware.

@return callable
Generate a callback function that iterates over all AfterInterface middleware .