interface PluginCallerInterface in Backup and Migrate 8.4
Interface PluginCallerPluginInterface.
@package BackupMigrate\Core\Plugin
An interface for plugins which need to access other plugins and therefore must have access to a plugin manager.
Hierarchy
- interface \BackupMigrate\Core\Plugin\PluginCallerInterface
Expanded class hierarchy of PluginCallerInterface
All classes that implement PluginCallerInterface
7 files declare their use of PluginCallerInterface
- BackupMigrateInterface.php in lib/
backup_migrate_core/ src/ Main/ BackupMigrateInterface.php - BrowserDownloadDestination.php in lib/
backup_migrate_core/ src/ Destination/ BrowserDownloadDestination.php - DebugDestination.php in lib/
backup_migrate_core/ src/ Destination/ DebugDestination.php - FileDirectorySource.php in lib/
backup_migrate_core/ src/ Source/ FileDirectorySource.php - MetadataWriter.php in lib/
backup_migrate_core/ src/ Filter/ MetadataWriter.php
File
- lib/
backup_migrate_core/ src/ Plugin/ PluginCallerInterface.php, line 15
Namespace
BackupMigrate\Core\PluginView source
interface PluginCallerInterface {
/**
* Inject the plugin manager.
*
* @param \BackupMigrate\Core\Plugin\PluginManagerInterface $plugins
*/
public function setPluginManager(PluginManagerInterface $plugins);
/**
* Get the plugin manager.
* * @return \BackupMigrate\Core\Plugin\PluginManagerInterface.
*/
public function plugins();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginCallerInterface:: |
public | function | Get the plugin manager. | |
PluginCallerInterface:: |
public | function | Inject the plugin manager. |