| Total Complexity | 7 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class NullWatcher extends Watcher { |
||
| 27 | private $policy; |
||
| 28 | |||
| 29 | public function __construct() { |
||
| 30 | } |
||
| 31 | |||
| 32 | public function setPolicy($policy) { |
||
| 33 | $this->policy = $policy; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getPolicy() { |
||
| 37 | return $this->policy; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function checkUpdate($path, $cachedEntry = null) { |
||
| 41 | return false; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function update($path, $cachedData) { |
||
| 45 | } |
||
| 46 | |||
| 47 | public function needsUpdate($path, $cachedData) { |
||
| 48 | return false; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function cleanFolder($path) { |
||
| 52 | } |
||
| 53 | } |
||
| 54 |