Changes for core/lib/Drupal/Core/Cache/BackendChain.php: 0 added lines, 15 removed lines.
Original line number
Diff line number
Diff line
@@ -29,21 +29,6 @@ class BackendChain implements CacheBackendInterface, CacheTagsInvalidatorInterfa
*/
protected$backends=[];
/**
* Constructs a new backend chain service instance.
*
* @param string|null $bin
* (deprecated) The cache bin for which the object is created. The $bin
* parameter is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
*
* @see https://www.drupal.org/node/3061125
*/
publicfunction__construct($bin=NULL){
if($bin){
@trigger_error('The $bin parameter is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Omit the first parameter. See https://www.drupal.org/node/3061125',E_USER_DEPRECATED);
@trigger_error(__NAMESPACE__.'\Cache::validateTags() is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use assert(\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)) instead.',E_USER_DEPRECATED);
if(empty($tags)){
return;
}
foreach($tagsas$value){
if(!is_string($value)){
thrownew\LogicException('Cache tags must be strings, '.gettype($value).' given.');
}
}
}
/**
* Build an array of cache tags from a given prefix and an array of suffixes.
@trigger_error(sprintf('%s is deprecated as of 8.6.0 and will be removed in 9.0. Inject the "http_kernel.controller.argument_resolver" service instead.',__METHOD__,ArgumentResolverInterface::class),E_USER_DEPRECATED);
thrownew\RuntimeException(sprintf('Controller "%s" requires that you provide a value for the "$%s" argument (because there is no default value or because there is a non optional argument after this one).',$repr,$param->name));