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