示例#1
0
 function __construct(Parser $parent, $callbackIndex, $shims = array())
 {
     if (0 < $callbackIndex) {
         $this->shims = $shims;
         $this->callbackIndex = $callbackIndex - 1;
         parent::__construct($parent);
     }
 }
 function __construct(Parser $parent, $level)
 {
     $this->level = (string) (int) $level;
     parent::__construct($parent);
 }