Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     self::setSingleton($this);
     $this->arrChangeToStates[__NAMESPACE__ . '\\ParserStateMacro'] = ParserStateMacro::singleton();
     $this->arrChangeToStates[__NAMESPACE__ . '\\ParserStateAttribute'] = ParserStateAttribute::singleton();
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     self::setSingleton($this);
 }