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\SPIView 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 |