xref: /dokuwiki/_test/tests/Remote/Mock/TestPlugin2.php (revision 801ecc14bc74dea1cd6f1c072fc06db8b1c8433b)
1*801ecc14SAndreas Gohr<?php
2*801ecc14SAndreas Gohr
3*801ecc14SAndreas Gohrnamespace dokuwiki\test\Remote\Mock;
4*801ecc14SAndreas Gohr
5*801ecc14SAndreas Gohruse dokuwiki\Extension\RemotePlugin;
6*801ecc14SAndreas Gohr
7*801ecc14SAndreas Gohrclass TestPlugin2 extends RemotePlugin
8*801ecc14SAndreas Gohr{
9*801ecc14SAndreas Gohr    /**
10*801ecc14SAndreas Gohr     * This is a dummy method
11*801ecc14SAndreas Gohr     *
12*801ecc14SAndreas Gohr     * @param string $str some more parameter description
13*801ecc14SAndreas Gohr     * @param int $int
14*801ecc14SAndreas Gohr     * @param bool $bool
15*801ecc14SAndreas Gohr     * @param array $array
16*801ecc14SAndreas Gohr     * @return array
17*801ecc14SAndreas Gohr     */
18*801ecc14SAndreas Gohr    public function commented($str, $int, $bool, $array = [])
19*801ecc14SAndreas Gohr    {
20*801ecc14SAndreas Gohr        return array($str, $int, $bool);
21*801ecc14SAndreas Gohr    }
22*801ecc14SAndreas Gohr
23*801ecc14SAndreas Gohr    private function privateMethod()
24*801ecc14SAndreas Gohr    {
25*801ecc14SAndreas Gohr        return true;
26*801ecc14SAndreas Gohr    }
27*801ecc14SAndreas Gohr
28*801ecc14SAndreas Gohr    protected function protectedMethod()
29*801ecc14SAndreas Gohr    {
30*801ecc14SAndreas Gohr        return true;
31*801ecc14SAndreas Gohr    }
32*801ecc14SAndreas Gohr
33*801ecc14SAndreas Gohr    public function _underscore()
34*801ecc14SAndreas Gohr    {
35*801ecc14SAndreas Gohr        return true;
36*801ecc14SAndreas Gohr    }
37*801ecc14SAndreas Gohr}
38