Final Class Yiisoft\Test\Support\SimpleCache\Action
| Inheritance | Yiisoft\Test\Support\SimpleCache\Action |
|---|
Public Methods
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| CLEAR | 'clear' | Yiisoft\Test\Support\SimpleCache\Action | |
| DELETE | 'delete' | Yiisoft\Test\Support\SimpleCache\Action | |
| GET | 'get' | Yiisoft\Test\Support\SimpleCache\Action | |
| HAS | 'has' | Yiisoft\Test\Support\SimpleCache\Action | |
| SET | 'set' | Yiisoft\Test\Support\SimpleCache\Action |
Method Details
| public static self createClearAction ( ) |
public static function createClearAction(): self
{
return new self(self::CLEAR);
}
| public static self createDeleteAction ( mixed $key ) | ||
| $key | mixed | |
public static function createDeleteAction(mixed $key): self
{
return new self(self::DELETE, $key);
}
| public static self createGetAction ( mixed $key ) | ||
| $key | mixed | |
public static function createGetAction(mixed $key): self
{
return new self(self::GET, $key);
}
| public static self createHasAction ( mixed $key ) | ||
| $key | mixed | |
public static function createHasAction(mixed $key): self
{
return new self(self::HAS, $key);
}
| 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);
}
Signup or Login in order to comment.