1<?php 2/* 3 * Yurii's Gantt Plugin 4 * 5 * Copyright (C) 2020 Yurii K. 6 * 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program. If not, see http://www.gnu.org/licenses 19 */ 20 21namespace dokuwiki\plugin\yuriigantt\src\Driver\Embedded; 22 23/** 24 * We need it to workaround Dokuwiki interface limitations 25 */ 26// 27// WORKAROUND: for stable version 28// 29if (!class_exists(\dokuwiki\Parsing\Handler\CallWriter::class)) { 30 class_alias(\Doku_Handler_CallWriter::class, \dokuwiki\Parsing\Handler\CallWriter::class); 31} 32 33class CallWriter extends \dokuwiki\Parsing\Handler\CallWriter 34{ 35 public function __construct(Handler $handler) 36 { 37 $this->Handler = $handler; 38 } 39} 40