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\Compiler\Environment;
  17  
  18  /**
  19   * @internal
  20   */
  21  class CallableBlock extends Block
  22  {
  23      /**
  24       * @var string
  25       */
  26      public $name;
  27  
  28      /**
  29       * @var array|null
  30       */
  31      public $args;
  32  
  33      /**
  34       * @var Environment|null
  35       */
  36      public $parentEnv;
  37  
  38      /**
  39       * @param string $type
  40       */
  41      public function __construct($type)
  42      {
  43          $this->type = $type;
  44      }
  45  }