Completed
Branch develop (4b6af9)
by Schlaefer
02:49
created

LastRefreshDummy::_get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Saito\User\LastRefresh;
4
5
/**
6
 * everything is always read
7
 *
8
 * used as dummy for bots and test cases
9
 */
10
class LastRefreshDummy extends LastRefreshAbstract
11
{
12
    /**
13
     * {@inheritDoc}
14
     */
15
    protected function _get()
16
    {
17
        return strtotime('+1 week');
18
    }
19
20
    /**
21
     * {@inheritDoc}
22
     */
23
    public function set($timestamp = null)
24
    {
25
    }
26
27
    /**
28
     * {@inheritDoc}
29
     */
30
    protected function _set()
31
    {
32
    }
33
}
34