0 follower

Final Class Yiisoft\Test\Support\SimpleCache\Action

InheritanceYiisoft\Test\Support\SimpleCache\Action

Method Details

Hide inherited methods

createClearAction() public static method

public static self createClearAction ( )

                public static function createClearAction(): self
{
    return new self(self::CLEAR);
}

            
createDeleteAction() public static method

public static self createDeleteAction ( mixed $key )
$key mixed

                public static function createDeleteAction(mixed $key): self
{
    return new self(self::DELETE, $key);
}

            
createGetAction() public static method

public static self createGetAction ( mixed $key )
$key mixed

                public static function createGetAction(mixed $key): self
{
    return new self(self::GET, $key);
}

            
createHasAction() public static method

public static self createHasAction ( mixed $key )
$key mixed

                public static function createHasAction(mixed $key): self
{
    return new self(self::HAS, $key);
}

            
createSetAction() public static method

public static self createSetAction ( mixed $key, mixed $value, mixed $ttl )
$key mixed
$value mixed
$ttl mixed

                public static function createSetAction(mixed $key, mixed $value, mixed $ttl): self
{
    return new self(self::SET, $key, $value, $ttl);
}

            
getAction() public method

public string getAction ( )

                public function getAction(): string
{
    return $this->action;
}

            
getKey() public method

public mixed getKey ( )

                public function getKey()
{
    return $this->key;
}

            
getTtl() public method

public mixed getTtl ( )

                public function getTtl()
{
    return $this->ttl;
}

            
getValue() public method

public mixed getValue ( )

                public function getValue()
{
    return $this->value;
}