Zend\Cache\Storage\AdapterPluginManager::validatePlugin
Validate the plugin
Checks that the adapter loaded is an instance of StorageInterface.
Signature
public function validatePlugin(mixed
$plugin )
Parameters
$plugin
— mixed
Returns
- void
Errors/Exceptions
-
RuntimeException
- if invalid