. */ namespace SP\Domain\Plugin\Ports; use SP\Domain\Core\Exceptions\ConstraintException; use SP\Domain\Core\Exceptions\QueryException; use SP\Infrastructure\Common\Repositories\NoSuchItemException; /** * Class PluginCompatilityInterface */ interface PluginCompatilityService { /** * @param Plugin $plugin * * @return bool * @throws ConstraintException * @throws NoSuchItemException * @throws QueryException */ public function checkFor(Plugin $plugin): bool; }