Proyectos de Subversion LeadersLinked - Services

Rev

Rev 283 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 283 Rev 345
Línea 1... Línea 1...
1
<?php
1
<?php
2
 
-
 
3
declare(strict_types=1);
2
declare(strict_types = 1);
4
 
-
 
5
namespace LeadersLinked\Cache;
3
namespace LeadersLinked\Cache;
Línea 6... Línea 4...
6
 
4
 
7
interface CacheInterface
5
interface CacheInterface
Línea 8... Línea 6...
8
{
6
{
9
 
7
 
10
    /**
8
    /**
11
     * 
9
     *
12
     * @param string $key
10
     * @param string $key
13
     * @param mixed $value
11
     * @param mixed $value
14
     */
-
 
15
    public function setItem($key, $value);
12
     */
16
    
-
 
17
    
13
    public function setItem($key, $value);
18
    
14
 
19
    /**
15
    /**
20
     *
16
     *
21
     * @param string $key
17
     * @param string $key
22
     * @return boolean
18
     * @return boolean
23
     */
-
 
24
    public function removeItem($key);
19
     */
25
    
20
    public function removeItem($key);
26
    
21
 
27
    /**
22
    /**
28
     *
23
     *
29
     * @param string $key
24
     * @param string $key
30
     * @return mixed
25
     * @return mixed
31
     */
-
 
32
    public function getItem($key);
26
     */
33
    
27
    public function getItem($key);
34
    
28
 
35
    /**
29
    /**
36
     *
30
     *
37
     * @param string $key
31
     * @param string $key
38
     * @return boolean
32
     * @return boolean
39
     */
-
 
40
    public function hasItem($key);
33
     */