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

Breadcrumb

  1. Drupal Core 11.1.x

ServiceProviderRequirementRuntimeValidated.php

Namespace

Nevay\SPI

File

vendor/tbachert/spi/src/ServiceProviderRequirementRuntimeValidated.php

View source
<?php

declare (strict_types=1);
namespace Nevay\SPI;


/**
 * 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.
 */
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;

}

Interfaces

Title Deprecated Summary
ServiceProviderRequirementRuntimeValidated Specifies requirements for a service provider.

API Navigation

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