Zend\Text\Table\DecoratorManager::validatePlugin
Validate the plugin
Checks that the decorator loaded is an instance of Decorator\DecoratorInterface.
Signature
public function validatePlugin(mixed
$plugin )
Parameters
$plugin
— mixed
Returns
- void
Errors/Exceptions
-
InvalidDecoratorException
- if invalid