xref: /plugin/struct/_test/mock/Assignments.php (revision 8fed17f342cc190557a6ce94d1787f9e2f63cb6c)
125029fe8SAndreas Gohr<?php
225029fe8SAndreas Gohr
3ba766201SAndreas Gohrnamespace dokuwiki\plugin\struct\test\mock;
425029fe8SAndreas Gohr
50549dcc5SAndreas Gohrclass Assignments extends \dokuwiki\plugin\struct\meta\Assignments
60549dcc5SAndreas Gohr{
7025cb9daSAndreas Gohr
8*8fed17f3SAndreas Gohr    /**
9*8fed17f3SAndreas Gohr     * @param $forcereload
10*8fed17f3SAndreas Gohr     * @return \dokuwiki\plugin\struct\test\mock\Assignments
11*8fed17f3SAndreas Gohr     * @noinspection PhpIncompatibleReturnTypeInspection
12*8fed17f3SAndreas Gohr     */
130549dcc5SAndreas Gohr    public static function getInstance($forcereload = false)
140549dcc5SAndreas Gohr    {
15025cb9daSAndreas Gohr        return parent::getInstance($forcereload); // TODO: Change the autogenerated stub
16025cb9daSAndreas Gohr    }
17025cb9daSAndreas Gohr
180549dcc5SAndreas Gohr    public function matchPagePattern($pattern, $page, $pns = null)
190549dcc5SAndreas Gohr    {
2025029fe8SAndreas Gohr        return parent::matchPagePattern($pattern, $page, $pns);
2125029fe8SAndreas Gohr    }
22025cb9daSAndreas Gohr
23025cb9daSAndreas Gohr    // resets the internal singleton instance
240549dcc5SAndreas Gohr    public static function reset()
250549dcc5SAndreas Gohr    {
26025cb9daSAndreas Gohr        self::$instance = null;
27025cb9daSAndreas Gohr    }
2825029fe8SAndreas Gohr}
29