xref: /plugin/struct/_test/mock/Assignments.php (revision 025cb9da4274aac00be48202c8eb49058f2dd283)
125029fe8SAndreas Gohr<?php
225029fe8SAndreas Gohr
3ba766201SAndreas Gohrnamespace dokuwiki\plugin\struct\test\mock;
425029fe8SAndreas Gohr
5ba766201SAndreas Gohrclass Assignments extends \dokuwiki\plugin\struct\meta\Assignments {
6*025cb9daSAndreas Gohr
7*025cb9daSAndreas Gohr    public static function getInstance($forcereload = false) {
8*025cb9daSAndreas Gohr        return parent::getInstance($forcereload); // TODO: Change the autogenerated stub
9*025cb9daSAndreas Gohr    }
10*025cb9daSAndreas Gohr
1125029fe8SAndreas Gohr    public function matchPagePattern($pattern, $page, $pns = null) {
1225029fe8SAndreas Gohr        return parent::matchPagePattern($pattern, $page, $pns);
1325029fe8SAndreas Gohr    }
14*025cb9daSAndreas Gohr
15*025cb9daSAndreas Gohr    // resets the internal singleton instance
16*025cb9daSAndreas Gohr    public static function reset() {
17*025cb9daSAndreas Gohr        self::$instance = null;
18*025cb9daSAndreas Gohr    }
1925029fe8SAndreas Gohr}
20