getApi() public method

Get the api configuration name.
public getApi ( ) : string
return string
Example #1
0
 public function testSetGetApi()
 {
     $rb = new RequestBag();
     $rb->setApi('ExampleApi');
     $this->assertSame('ExampleApi', $rb->getApi());
 }