public function testMultipleHeader() { $annotation = new Headers(['value' => ['Foo: bar', 'Baz: boing']]); $this->assertEquals(['Foo' => 'bar', 'Baz' => 'boing'], $annotation->getHeaders()); }
/** * @param Method $method * @param Headers $annotation * @return null */ public function handle(Method $method, $annotation) { $method->addHeaders($annotation->getHeaders()); }