/**
  * Sets up the parser.
  */
 public function __construct()
 {
     $this->di = SimpleDi::singleton();
 }
Example #2
0
 /**
  * Constructs a PartStream.
  */
 public function __construct()
 {
     $di = SimpleDi::singleton();
     $this->registry = $di->getPartStreamRegistry();
 }