FOF30\Controller\Controller::registerDefaultTask PHP Method

registerDefaultTask() public method

Register the default task to perform if a mapping is not found.
public registerDefaultTask ( string $method ) : Controller
$method string The name of the method in the derived class to perform if a named task is not found.
return Controller This object to support chaining.
    public function registerDefaultTask($method)
    {
        $this->registerTask('__default', $method);
        return $this;
    }