public function after(callable $func)
    {
        $pattern = $this->setBaseRoute('{:all}');
        foreach (explode('|', 'GET|POST|PUT|PATCH|DELETE') as $method) {
            $this->after[$method][] = ['pattern' => $pattern, 'fn' => $func];
        }
    }