|
MediaWiki master
|
Service for instantiating BlobStores. More...
Public Member Functions | |
| __construct (private readonly ILBFactory $lbFactory, private readonly ExternalStoreAccess $extStoreAccess, private readonly WANObjectCache $cache, private readonly ServiceOptions $options,) | |
| newBlobStore ( $dbDomain=false) | |
| newSqlBlobStore ( $dbDomain=false) | |
Public Attributes | |
| const | CONSTRUCTOR_OPTIONS |
Service for instantiating BlobStores.
This can be used to create BlobStore objects for other wikis.
Definition at line 22 of file BlobStoreFactory.php.
| MediaWiki\Storage\BlobStoreFactory::__construct | ( | private readonly ILBFactory | $lbFactory, |
| private readonly ExternalStoreAccess | $extStoreAccess, | ||
| private readonly WANObjectCache | $cache, | ||
| private readonly ServiceOptions | $options ) |
Definition at line 34 of file BlobStoreFactory.php.
| MediaWiki\Storage\BlobStoreFactory::newBlobStore | ( | $dbDomain = false | ) |
| bool | string | $dbDomain | The ID of the target wiki database. Use false for the local wiki. |
Definition at line 50 of file BlobStoreFactory.php.
References MediaWiki\Storage\BlobStoreFactory\newSqlBlobStore().
| MediaWiki\Storage\BlobStoreFactory::newSqlBlobStore | ( | $dbDomain = false | ) |
| bool | string | $dbDomain | The ID of the target wiki database. Use false for the local wiki. |
Definition at line 61 of file BlobStoreFactory.php.
References MediaWiki\MainConfigNames\CompressRevisions, MediaWiki\MainConfigNames\DefaultExternalStore, MediaWiki\MainConfigNames\LegacyEncoding, and MediaWiki\MainConfigNames\RevisionCacheExpiry.
Referenced by MediaWiki\Storage\BlobStoreFactory\newBlobStore().
| const MediaWiki\Storage\BlobStoreFactory::CONSTRUCTOR_OPTIONS |
Definition at line 27 of file BlobStoreFactory.php.