1<?php 2/** 3 * DokuWiki Plugin embeddedphp (Syntax Component) 4 * 5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 6 * @author fiwswe <dwplugin@fwml.de> 7 */ 8 9class syntax_plugin_embeddedphp_phpblock extends syntax_plugin_embeddedphp_phpinline 10{ 11 /** @inheritDoc */ 12 protected function GetTag(): string 13 { 14 return 'PHP'; 15 } 16 17 /** @inheritDoc */ 18 public function getPType() 19 { 20 return 'block'; 21 } 22 23 /** @inheritDoc */ 24 protected function isBlockElement(): bool 25 { 26 return true; 27 } 28} 29 30