Webiny\Component\Rest\Response\RequestBag::getApi PHP Méthode

getApi() public méthode

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

Usage Example

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