Webiny\Component\Rest\Response\RequestBag::getApi PHP Метод

getApi() публичный Метод

Get the api configuration name.
public getApi ( ) : string
Результат string
    public function getApi()
    {
        return $this->api;
    }

Usage Example

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