ZF2: How to pass parameters to forward plugin which I can then get in the method I forward them to?
问题 I have an Action method in Foo Controller which requires parameters: public function fooAction($one, $two) { $a = one; $b = $two; } And I need to forward to that method from the other method of some Boo Controller. And one of those parameters has to be by reference parameter. The only example that the manual has is this: $result = $this->forward()->dispatch('Boo\Controller\Boo', array('action' => 'boo')); No any additional parameters. But they write: $params is an optional array of parameters