1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- declare(strict_types=1);
- namespace OC\Files\Cache;
- class NullWatcher extends Watcher {
- private $policy;
- public function __construct() {
- }
- public function setPolicy($policy) {
- $this->policy = $policy;
- }
- public function getPolicy() {
- return $this->policy;
- }
- public function checkUpdate($path, $cachedEntry = null) {
- return false;
- }
- public function update($path, $cachedData) {
- }
- public function needsUpdate($path, $cachedData) {
- return false;
- }
- public function cleanFolder($path) {
- }
- }
|