KeyValuePairInterface
last analyzed

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
getKey() 0 1 ?
getValue() 0 1 ?
1
<?php
2
namespace Chadicus\Spl\DataStructures;
3
4
/**
5
 * Defines a key/value pair interface.
6
 */
7
interface KeyValuePairInterface
8
{
9
    /**
10
     * Gets the key in the key/value pair.
11
     *
12
     * @return mixed
13
     */
14
    public function getKey();
15
16
    /**
17
     * Gets the value in the key/value pair.
18
     *
19
     * @return mixed
20
     */
21
    public function getValue();
22
}
23