[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/ -> TemplateCheck.php (source)

   1  <?php
   2  
   3  /**
   4  * @package   s9e\TextFormatter
   5  * @copyright Copyright (c) 2010-2022 The s9e authors
   6  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
   7  */
   8  namespace s9e\TextFormatter\Configurator;
   9  
  10  use DOMElement;
  11  use s9e\TextFormatter\Configurator\Items\Tag;
  12  
  13  /**
  14  * @codeCoverageIgnore
  15  */
  16  abstract class TemplateCheck
  17  {
  18      /**
  19      * XSL namespace
  20      */
  21      const XMLNS_XSL = 'http://www.w3.org/1999/XSL/Transform';
  22  
  23      /**
  24      * Check a template for infractions to this check and throw any relevant Exception
  25      *
  26      * @param  DOMElement $template <xsl:template/> node
  27      * @param  Tag     $tag      Tag this template belongs to
  28      * @return void
  29      */
  30      abstract public function check(DOMElement $template, Tag $tag);
  31  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1