public mapAction ( string $action, string | array $config = [], boolean $enable = true ) : void | ||
$action | string | The Controller action to provide an implementation for. |
$config | string | array | Config array or class name like Crud.Index. |
$enable | boolean | Should the mapping be enabled right away? |
return | void |