xref: /plugin/struct/_test/mock/Assignments.php (revision 0549dcc5bc88d4f9d923acdd09931d8d51be7097)
125029fe8SAndreas Gohr<?php
225029fe8SAndreas Gohr
3ba766201SAndreas Gohrnamespace dokuwiki\plugin\struct\test\mock;
425029fe8SAndreas Gohr
5*0549dcc5SAndreas Gohrclass Assignments extends \dokuwiki\plugin\struct\meta\Assignments
6*0549dcc5SAndreas Gohr{
7025cb9daSAndreas Gohr
8*0549dcc5SAndreas Gohr    public static function getInstance($forcereload = false)
9*0549dcc5SAndreas Gohr    {
10025cb9daSAndreas Gohr        return parent::getInstance($forcereload); // TODO: Change the autogenerated stub
11025cb9daSAndreas Gohr    }
12025cb9daSAndreas Gohr
13*0549dcc5SAndreas Gohr    public function matchPagePattern($pattern, $page, $pns = null)
14*0549dcc5SAndreas Gohr    {
1525029fe8SAndreas Gohr        return parent::matchPagePattern($pattern, $page, $pns);
1625029fe8SAndreas Gohr    }
17025cb9daSAndreas Gohr
18025cb9daSAndreas Gohr    // resets the internal singleton instance
19*0549dcc5SAndreas Gohr    public static function reset()
20*0549dcc5SAndreas Gohr    {
21025cb9daSAndreas Gohr        self::$instance = null;
22025cb9daSAndreas Gohr    }
2325029fe8SAndreas Gohr}
24