StorageInterface
last analyzed

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
get() 0 1 ?
has() 0 1 ?
set() 0 1 ?
remove() 0 1 ?
1
<?php
2
/**
3
 * Library for confirmation tokens.
4
 *
5
 * @link      https://github.com/hiqdev/php-confirmator
6
 * @package   php-confirmator
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\php\confirmator;
12
13
interface StorageInterface
14
{
15
    public function has($name);
16
17
    public function get($name);
18
19
    public function set($name, $text);
20
21
    public function remove($name);
22
}
23