Frisbee\Controller\AbstractController::next PHP Method

next() public method

public next ( )
    public function next()
    {
        $dispatchMethod = $this->method . 'Action';
        if (!method_exists($this, $dispatchMethod)) {
            throw new \Exception(sprintf('requested method: %s does not exist in controller %s', $dispatchMethod, get_class($this)));
        }
        return $this->{$dispatchMethod}();
    }
AbstractController