1 | <?php |
||
17 | abstract class SynchronousServerApplication implements ServerApplicationInterface |
||
18 | { |
||
19 | /** |
||
20 | * @param ServerRequestInterface $request |
||
21 | * |
||
22 | * @return ResponseInterface |
||
23 | */ |
||
24 | abstract function processRequestSynchronously(ServerRequestInterface $request) : ResponseInterface; |
||
25 | |||
26 | /** |
||
27 | * @inheritDoc |
||
28 | */ |
||
29 | public function processRequest(ServerRequestInterface $request) : ExtendedPromiseInterface |
||
39 | } |
||
40 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.