Zend\View\HelperPluginManager::validatePlugin
Validate the plugin
Checks that the helper loaded is an instance of Helper\HelperInterface.
Signature
public function validatePlugin(mixed
$plugin )
Parameters
$plugin
— mixed
Returns
- void
Errors/Exceptions
-
InvalidHelperException
- if invalid