setMethodData() public method

Set the method data array.
public setMethodData ( array $methodData )
$methodData array Method data array
Exemplo n.º 1
0
 public function testSetGetMethodData()
 {
     $rb = new RequestBag();
     $rb->setMethodData(['data' => 'foo']);
     $this->assertSame(['data' => 'foo'], $rb->getMethodData());
 }