2 methods override FactoryInterface::createInstance()

DefaultFactory::createInstance in core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
Creates a pre-configured instance of a plugin.
MigratePluginManagerInterface::createInstance in core/modules/migrate/src/Plugin/MigratePluginManagerInterface.php
Creates a pre-configured instance of a migration plugin.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.