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