Webiny\Component\Rest\Response\RequestBag::getMethodParameters PHP Method

getMethodParameters() public method

Returns the array holding the information about the method parameters.
public getMethodParameters ( ) : array
return array
    public function getMethodParameters()
    {
        return $this->methodParameters;
    }

Usage Example

Example #1
0
 public function testSetGetMethodParameters()
 {
     $rb = new RequestBag();
     $rb->setMethodParameters(['data' => 'foo']);
     $this->assertSame(['data' => 'foo'], $rb->getMethodParameters());
 }
All Usage Examples Of Webiny\Component\Rest\Response\RequestBag::getMethodParameters