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.
   1  <?php
   2  
   3  /**
   4   * SCSSPHP
   5   *
   6   * @copyright 2012-2020 Leaf Corcoran
   7   *
   8   * @license http://opensource.org/licenses/MIT MIT
   9   *
  10   * @link http://scssphp.github.io/scssphp
  11   */
  12  
  13  namespace ScssPhp\ScssPhp\Block;
  14  
  15  use ScssPhp\ScssPhp\Block;
  16  use ScssPhp\ScssPhp\Type;
  17  
  18  /**
  19   * @internal
  20   */
  21  class ElseBlock extends Block
  22  {
  23      public function __construct()
  24      {
  25          $this->type = Type::T_ELSE;
  26      }
  27  }