Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

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

   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  }