Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

   1  <?php
   2  
   3  namespace Sabberworm\CSS\Property;
   4  
   5  use Sabberworm\CSS\Comment\Commentable;
   6  use Sabberworm\CSS\Renderable;
   7  
   8  interface AtRule extends Renderable, Commentable
   9  {
  10      /**
  11       * Since there are more set rules than block rules,
  12       * we’re whitelisting the block rules and have anything else be treated as a set rule.
  13       *
  14       * @var string
  15       */
  16      const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values';
  17  
  18      /**
  19       * … and more font-specific ones (to be used inside font-feature-values)
  20       *
  21       * @var string
  22       */
  23      const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation';
  24  
  25      /**
  26       * @return string|null
  27       */
  28      public function atRuleName();
  29  
  30      /**
  31       * @return string|null
  32       */
  33      public function atRuleArgs();
  34  }