Zend\I18n\Translator\LoaderPluginManager::validatePlugin
Validate the plugin.
Checks that the filter loaded is an instance of Loader\FileLoaderInterface or Loader\RemoteLoaderInterface.
Signature
public function validatePlugin(mixed
$plugin )
Parameters
$plugin
— mixed
Returns
- void
Errors/Exceptions
-
RuntimeException
- if invalid