Jump to content

Manual:ParserFactory.php

From mediawiki.org

Key methods

[edit]
  • 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.