xref: /dokuwiki/_test/tests/Remote/Mock/JsonRpcServer.php (revision 5e47e6df3b30a73e6df46aa75fcc4008d9b60ebb)
1*5e47e6dfSAndreas Gohr<?php
2*5e47e6dfSAndreas Gohr
3*5e47e6dfSAndreas Gohrnamespace dokuwiki\test\Remote\Mock;
4*5e47e6dfSAndreas Gohr
5*5e47e6dfSAndreas Gohrclass JsonRpcServer extends \dokuwiki\Remote\JsonRpcServer
6*5e47e6dfSAndreas Gohr{
7*5e47e6dfSAndreas Gohr
8*5e47e6dfSAndreas Gohr    /** @inheritdoc */
9*5e47e6dfSAndreas Gohr    public function __construct()
10*5e47e6dfSAndreas Gohr    {
11*5e47e6dfSAndreas Gohr        parent::__construct();
12*5e47e6dfSAndreas Gohr        $this->remote->getCoreMethods(new ApiCore()); // use the mock API core
13*5e47e6dfSAndreas Gohr    }
14*5e47e6dfSAndreas Gohr
15*5e47e6dfSAndreas Gohr}
16