getDefaultFormat() public method

public getDefaultFormat ( ) : string
return string
Ejemplo n.º 1
0
 public function testConstructorWithXmlAsADefaultFormat()
 {
     $route = new RestRoute('Api', 'xml');
     $defaultFormat = $route->getDefaultFormat();
     $this->assertEquals('xml', $defaultFormat);
 }