Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Cache/Events/WritingKey.php
Строк: 32
<?php

namespace IlluminateCacheEvents;

class 
WritingKey extends CacheEvent
{
    
/**
     * The value that will be written.
     *
     * @var mixed
     */
    
public $value;

    
/**
     * The number of seconds the key should be valid.
     *
     * @var int|null
     */
    
public $seconds;

    
/**
     * Create a new event instance.
     *
     * @param  string|null  $storeName
     * @param  string  $key
     * @param  mixed  $value
     * @param  int|null  $seconds
     * @param  array  $tags
     */
    
public function __construct($storeName, $key, $value, $seconds = null, $tags = [])
    {
        
parent::__construct($storeName, $key, $tags);

        
$this->value = $value;
        
$this->seconds = $seconds;
    }
}
Онлайн: 2
Реклама