Zend\Log\Writer\FilterPluginManager::validatePlugin
Validate the plugin
Checks that the filter loaded is an instance of Filter\FilterInterface.
Signature
public function validatePlugin(mixed
$plugin )
Parameters
$plugin
— mixed
Returns
- void
Errors/Exceptions
-
InvalidArgumentException
- if invalid