setMethodParameters() public method

Set the array holding the information about the method parameters.
public setMethodParameters ( array $methodParameters )
$methodParameters array Array holding the information about the method parameters.
Example #1
0
 public function testSetGetMethodParameters()
 {
     $rb = new RequestBag();
     $rb->setMethodParameters(['data' => 'foo']);
     $this->assertSame(['data' => 'foo'], $rb->getMethodParameters());
 }