Tebru\Retrofit\Annotation\Headers::getHeaders PHP Method

getHeaders() public method

Get the headers
public getHeaders ( ) : array
return array
    public function getHeaders()
    {
        return $this->headers;
    }

Usage Example

コード例 #1
0
 public function testMultipleHeader()
 {
     $annotation = new Headers(['value' => ['Foo: bar', 'Baz: boing']]);
     $this->assertEquals(['Foo' => 'bar', 'Baz' => 'boing'], $annotation->getHeaders());
 }
All Usage Examples Of Tebru\Retrofit\Annotation\Headers::getHeaders