Skip to content

Commit 714b62d

Browse files
committed
Fixed missing methods in ConfigurationOptionInterface
1 parent 054a4f4 commit 714b62d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lib/Phpfastcache/Config/ConfigurationOptionInterface.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
namespace Phpfastcache\Config;
1818

19+
use Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException;
1920
use Phpfastcache\Exceptions\PhpfastcacheInvalidConfigurationException;
21+
use Phpfastcache\Exceptions\PhpfastcacheLogicException;
2022

2123
interface ConfigurationOptionInterface extends LockableConfigurationInterface
2224
{
@@ -134,4 +136,19 @@ public function isUseStaticItemCaching(): bool;
134136
* @return ConfigurationOption
135137
*/
136138
public function setUseStaticItemCaching(bool $useStaticItemCaching): static;
139+
140+
/**
141+
* @return object
142+
* @throws PhpfastcacheInvalidArgumentException
143+
* @throws PhpfastcacheLogicException
144+
*/
145+
public function getSuperGlobalAccessor(): object;
146+
147+
/**
148+
* @param ?object $superGlobalAccessor
149+
* @return static
150+
* @throws PhpfastcacheInvalidArgumentException
151+
* @throws PhpfastcacheLogicException
152+
*/
153+
public function setSuperGlobalAccessor(?object $superGlobalAccessor): static;
137154
}

0 commit comments

Comments
 (0)