From f3dd8a93d06fd89619e4c41e958c45b0fad81152 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 6 Apr 2017 11:50:07 +0200 Subject: [PATCH] Add header and method completion for PSR-7 classes --- psr/http-message/.ide-toolbox.metadata.json | 73 +++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 psr/http-message/.ide-toolbox.metadata.json diff --git a/psr/http-message/.ide-toolbox.metadata.json b/psr/http-message/.ide-toolbox.metadata.json new file mode 100644 index 0000000..b15562d --- /dev/null +++ b/psr/http-message/.ide-toolbox.metadata.json @@ -0,0 +1,73 @@ +{ + "registrar": [ + { + "provider": "http_methods", + "language": "php", + "signature": [ + "Psr\\Http\\Message\\RequestInterface::withMethod" + ] + }, + { + "provider": "http_request_headers", + "language": "php", + "signatures": [ + { + "class": "Psr\\Http\\Message\\RequestInterface", + "method": "getHeader" + }, + { + "class": "Psr\\Http\\Message\\RequestInterface", + "method": "withoutHeader" + }, + { + "class": "Psr\\Http\\Message\\RequestInterface", + "method": "getHeaderLine" + }, + { + "class": "Psr\\Http\\Message\\RequestInterface", + "method": "withHeader", + "index": 1 + }, + { + "class": "Psr\\Http\\Message\\RequestInterface", + "method": "withAddedHeader", + "index": 1 + }, + { + "class": "Psr\\Http\\Message\\RequestInterface", + "method": "hasHeader" + } + ] + }, + { + "provider": "http_response_headers", + "language": "php", + "signatures": [ + { + "class": "Psr\\Http\\Message\\ResponseInterface", + "method": "getHeader" + }, + { + "class": "Psr\\Http\\Message\\ResponseInterface", + "method": "withoutHeader" + }, + { + "class": "Psr\\Http\\Message\\ResponseInterface", + "method": "getHeaderLine" + }, + { + "class": "Psr\\Http\\Message\\ResponseInterface", + "method": "withHeader" + }, + { + "class": "Psr\\Http\\Message\\ResponseInterface", + "method": "withAddedHeader" + }, + { + "class": "Psr\\Http\\Message\\ResponseInterface", + "method": "hasHeader" + } + ] + } + ] +}