/** * @param Plugin $plugin * @param Dependency $dependency */ function __construct($plugin, $dependency) { parent::__construct('Plugin "' . $plugin->getId() . '" needs an older version of "' . $dependency->getPluginId() . '" to be installed, ' . $dependency->getMaxVersion() . ' at highest!'); }