Imbo\Http\Response\Formatter\XML::getContentType PHP Метод

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

public getContentType ( )
    public function getContentType()
    {
        return 'application/xml';
    }

Usage Example

Пример #1
0
 /**
  * @covers Imbo\Http\Response\Formatter\XML::getContentType
  */
 public function testReturnsCurrectContentType()
 {
     $this->assertSame('application/xml', $this->formatter->getContentType());
 }