They do not match.
If $method- showAction, and $this->params- array(2, 'some-slug'), then the first call will be equivalent:
$controller->showAction(2, 'some-slug');
While the second will be:
$controller->showAction(array(2, 'some-slug'));
Which one you want to use depends on how your system works (for example, your controllers). I personally will probably go with the first one.
igorw source
share