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 ForBlock extends Block
  22  {
  23      /**
  24       * @var string
  25       */
  26      public $var;
  27  
  28      /**
  29       * @var array
  30       */
  31      public $start;
  32  
  33      /**
  34       * @var array
  35       */
  36      public $end;
  37  
  38      /**
  39       * @var bool
  40       */
  41      public $until;
  42  
  43      public function __construct()
  44      {
  45          $this->type = Type::T_FOR;
  46      }
  47  }