Zend\Mvc\Router\RoutePluginManager::validatePlugin
Validate the plugin.
Checks that the filter loaded is either a valid callback or an instance of FilterInterface.
Signature
public function validatePlugin(mixed
$plugin )
Parameters
$plugin
— mixed
Returns
- void
Errors/Exceptions
-
RuntimeException
- if invalid