interface CloudFlareComposerDependenciesCheckInterface in CloudFlare 8
Tests that Composer dependencies for CloudFlare are met.
Hierarchy
- interface \Drupal\cloudflare\CloudFlareComposerDependenciesCheckInterface
Expanded class hierarchy of CloudFlareComposerDependenciesCheckInterface
All classes that implement CloudFlareComposerDependenciesCheckInterface
6 files declare their use of CloudFlareComposerDependenciesCheckInterface
- ApiRateLimitCheck.php in modules/
cloudflarepurger/ src/ Plugin/ Purge/ DiagnosticCheck/ ApiRateLimitCheck.php - CloudFlarePurger.php in modules/
cloudflarepurger/ src/ Plugin/ Purge/ Purger/ CloudFlarePurger.php - ComposerDependenciesCheck.php in modules/
cloudflarepurger/ src/ Plugin/ Purge/ DiagnosticCheck/ ComposerDependenciesCheck.php - ComposerDependenciesCheckMock.php in tests/
modules/ cloudflare_form_tester/ src/ Mocks/ ComposerDependenciesCheckMock.php - SettingsForm.php in src/
Form/ SettingsForm.php
File
- src/
CloudFlareComposerDependenciesCheckInterface.php, line 8
Namespace
Drupal\cloudflareView source
interface CloudFlareComposerDependenciesCheckInterface {
const ERROR_MESSAGE = "Missing Composer dependencies for CloudFlare. <br /> From the root of your site install composer dependencies by running `composer require d8-contrib-modules/cloudflarephpsdk \"1.0.0-alpha3\"`";
/**
* Tests that composer dependencies for CloudFlare are met.
*
* @return bool
* TRUE if composer dependencies are met. FALSE otherwise.
*/
public function check();
/**
* Asserts that composer dependencies for CloudFlare are met.
*
* @throws \Drupal\cloudflare\Exception\ComposerDependencyException
* Exception thrown if composer dependencies are met.
*/
public function assert();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CloudFlareComposerDependenciesCheckInterface:: |
public | function | Asserts that composer dependencies for CloudFlare are met. | 2 |
CloudFlareComposerDependenciesCheckInterface:: |
public | function | Tests that composer dependencies for CloudFlare are met. | 2 |
CloudFlareComposerDependenciesCheckInterface:: |
constant |