Add Handler::getRouter()
authorTim Starling <tstarling@wikimedia.org>
Sat, 22 Jun 2019 23:08:07 +0000 (16:08 -0700)
committerTim Starling <tstarling@wikimedia.org>
Wed, 26 Jun 2019 05:06:19 +0000 (15:06 +1000)
commit3599ce72b0fe2594bd3ae8c902555040b8a91d28
tree383e1fc8dc79decaa86f0db7ced1fa01461d555f
parentdd69e92a2c133574d72147cfcd0210f6add6025a
Add Handler::getRouter()

Instead of providing the Router as a service, as previously proposed,
inject it into the handler via init().

Change-Id: I6008a2c5de692c0d56b7db849b28fd82e0196881
includes/Rest/Handler.php
includes/Rest/Router.php