Вход Регистрация
Файл: core/cache_service.php
Строк: 20
<?php

interface PEEP_CacheService
{

    
/**
     * Returns stored data if an item with such key exists on the cache at this moment. 
     * 
     * @param string $key
     * @return mixed
     */
    
public function get$key );

    
/**
     * Stores an item var with key on the cache. 
     * Parameter lifeTime is expiration time in seconds.
     * 
     * @param string $key
     * @param mixed $var
     * @param int $lifeTime
     * @return mixed
     */
    
public function set$key$var$lifeTime );
}
Онлайн: 0
Реклама