Manual:ParserFactory.php
MediaWiki file: ParserFactory.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Classes: | ParserFactory |
Key methods
- create() - creates a fresh new Parser object, with constructor properties set to their defaults. Other variables you might need such as ParserOptions must be set explicitly.
- getInstance() - get the main shared Parser instance, or if it is locked, get a new instance.