FOF30\Controller\Controller::registerDefaultTask PHP 메소드

registerDefaultTask() 공개 메소드

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.
리턴 Controller This object to support chaining.
    public function registerDefaultTask($method)
    {
        $this->registerTask('__default', $method);
        return $this;
    }