Completed
Push — develop ( f5214a...d7714e )
by Novikov
02:25
created

UberMongo::isFresh()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace Sleepness\UberTranslationBundle\Storage;
4
5
use Symfony\Component\Config\Resource\ResourceInterface;
6
7
/**
8
 * Wrapper under standard MongoClient
9
 *
10
 * @author Viktor Novikov <[email protected]>
11
 */
12
class UberMongo implements ResourceInterface, UberStorageInterface
13
{
14
    public function __toString()
15
    {
16
        return 'uberMongo';
17
    }
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function setConnection($host, $port)
23
    {
24
        // TODO: Implement setConnection() method.
25
    }
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function addItem($key, $value, $expiration = null)
31
    {
32
        // TODO: Implement addItem() method.
33
    }
34
35
    /**
36
     * {@inheritdoc}
37
     */
38
    public function getItem($key)
39
    {
40
        // TODO: Implement getItem() method.
41
    }
42
43
    /**
44
     * {@inheritdoc}
45
     */
46
    public function getAllKeys()
47
    {
48
        // TODO: Implement getAllKeys() method.
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function deleteItem($key)
55
    {
56
        // TODO: Implement deleteItem() method.
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function dropCache()
63
    {
64
        // TODO: Implement dropCache() method.
65
    }
66
67
    /**
68
     * {@inheritdoc}
69
     */
70
    public function isFresh($timestamp)
71
    {
72
        // TODO: Implement isFresh() method.
73
    }
74
75
    /**
76
     * {@inheritdoc}
77
     */
78
    public function getResource()
79
    {
80
        // TODO: Implement getResource() method.
81
    }
82
}
83