Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ServiceProviderRequirementRuntimeValidated.php

interface ServiceProviderRequirementRuntimeValidated

Specifies requirements for a service provider.

Service providers will only be registered if all {@link ServiceProviderRequirement}s are satisfied.

Requirements implementing this interface will be re-validated during runtime instead of during composer autoload dumping.

Hierarchy

  • interface \Nevay\SPI\ServiceProviderRequirement
    • interface \Nevay\SPI\ServiceProviderRequirementRuntimeValidated extends \Nevay\SPI\ServiceProviderRequirement

Expanded class hierarchy of ServiceProviderRequirementRuntimeValidated

All classes that implement ServiceProviderRequirementRuntimeValidated

2 files declare their use of ServiceProviderRequirementRuntimeValidated
ExtensionDependency.php in vendor/tbachert/spi/src/ServiceProviderDependency/ExtensionDependency.php
Plugin.php in vendor/tbachert/spi/src/Composer/Plugin.php

File

vendor/tbachert/spi/src/ServiceProviderRequirementRuntimeValidated.php, line 12

Namespace

Nevay\SPI
View source
interface ServiceProviderRequirementRuntimeValidated extends ServiceProviderRequirement {
    
    /**
     * Returns a hash representing the state that lead to the {@link self::isSatisfied()} decision.
     *
     * @return mixed a primitive value representing the state
     */
    public function hash() : mixed;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ServiceProviderRequirement::isSatisfied public function Returns whether this requirement is satisfied. 2
ServiceProviderRequirementRuntimeValidated::hash public function Returns a hash representing the state that lead to the {@link self::isSatisfied()} decision. 1

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal