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