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

getApi() public method

Get the api configuration name.
public getApi ( ) : string
return string
    public function getApi()
    {
        return $this->api;
    }

Usage Example

Esempio n. 1
0
 public function testSetGetApi()
 {
     $rb = new RequestBag();
     $rb->setApi('ExampleApi');
     $this->assertSame('ExampleApi', $rb->getApi());
 }