ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
BaseRequest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Cache\Container;
22 
26 class BaseRequest implements Request
27 {
28  public function __construct(private string $container_key, private bool $forced = false)
29  {
30  }
31 
32  public function getContainerKey(): string
33  {
34  return $this->container_key;
35  }
36 
37  public function isForced(): bool
38  {
39  return $this->forced;
40  }
41 }
__construct(private string $container_key, private bool $forced=false)
Definition: BaseRequest.php:28