1 | <?php |
||
32 | class RmaKeys implements RmaKeysInterface |
||
33 | { |
||
34 | |||
35 | /** |
||
36 | * The available states for the 'is_returnable' colum. |
||
37 | * |
||
38 | * @var array |
||
39 | */ |
||
40 | protected $returnable = array( |
||
41 | RmaKeysInterface::NOT_RETURNABLE => 0, |
||
42 | RmaKeysInterface::RETURNABLE => 1, |
||
43 | RmaKeysInterface::USE_CONFIG => 2 |
||
44 | ); |
||
45 | |||
46 | /** |
||
47 | * Return's the value for the passed key. |
||
48 | * |
||
49 | * @param string $key The key to return the value for |
||
50 | * |
||
51 | * @return int The value |
||
52 | */ |
||
53 | public function get(string $key) : int |
||
57 | } |
||
58 |