![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-session/src/Storage/ |
<?php namespace Laminas\Session\Storage; use ArrayAccess; use Countable; use Serializable; use Traversable; /** * Session storage interface * * Defines the minimum requirements for handling userland, in-script session * storage (e.g., the $_SESSION superglobal array). * * @template TKey of array-key * @template TValue * @template-extends Traversable<TKey, TValue> * @template-extends ArrayAccess<TKey, TValue> */ interface StorageInterface extends Traversable, ArrayAccess, Serializable, Countable { /** @return float */ public function getRequestAccessTime(); /** * @param null|int|string $key * @return self */ public function lock($key = null); /** * @param null|int|string $key * @return bool */ public function isLocked($key = null); /** * @param null|int|string $key * @return self */ public function unlock($key = null); /** @return self */ public function markImmutable(); /** @return bool */ public function isImmutable(); /** * @param string $key * @param mixed $value * @param bool $overwriteArray * @return self */ public function setMetadata($key, $value, $overwriteArray = false); /** * @param null|int|string $key * @return mixed */ public function getMetadata($key = null); /** * @param null|int|string $key * @return self */ public function clear($key = null); /** * @param array $array * @return self */ public function fromArray(array $array); /** * @param bool $metadata * @return array */ public function toArray($metadata = false); }