public function after($callback)
    {
        $callbacks = $this->getOption('_after_middlewares');
        $callbacks[] = $callback;
        $this->setOption('_after_middlewares', $callbacks);

        return $this;
    }
public function after($callback)
    {
        $callbacks = $this->getOption('_after_middlewares');
        $callbacks[] = $callback;
        $this->setOption('_after_middlewares', $callbacks);

        return $this;
    }
public function after ( $ callback ) { $ callbacks = $ this -> getOption ( '_after_middlewares' ) ; $ callbacks [ ] = $ callback ; $ this -> setOption ( '_after_middlewares' , $ callbacks ) ; return $ this ; }
Sets a callback to handle after the route callback.

@param mixed $callback A PHP callback to be triggered after the route callback

@return Route $this The current Route instance
Sets a callback to handle after the route callback .