
| Current Path : /var/www/html/store/web/modules/contrib/commerce/src/Resolver/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/commerce/src/Resolver/ChainLocaleResolverInterface.php |
<?php
namespace Drupal\commerce\Resolver;
/**
* Runs the added resolvers one by one until one of them returns the locale.
*
* Each resolver in the chain can be another chain, which is why this interface
* extends the locale resolver one.
*/
interface ChainLocaleResolverInterface extends LocaleResolverInterface {
/**
* Adds a resolver.
*
* @param \Drupal\commerce\Resolver\LocaleResolverInterface $resolver
* The resolver.
*/
public function addResolver(LocaleResolverInterface $resolver);
/**
* Gets all added resolvers.
*
* @return \Drupal\commerce\Resolver\LocaleResolverInterface[]
* The resolvers.
*/
public function getResolvers();
}