@@ -5,24 +5,24 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | // exceptions |
| 8 | -require_once(__DIR__ . '/Exceptions/CacheInvalidBackendException.php'); |
|
| 9 | -require_once(__DIR__ . '/Exceptions/CacheInvalidParameterException.php'); |
|
| 10 | -require_once(__DIR__ . '/Exceptions/CacheUnsupportedOperation.php'); |
|
| 11 | -require_once(__DIR__ . '/Exceptions/CacheInvalidDataException.php'); |
|
| 12 | -require_once(__DIR__ . '/Exceptions/CacheKeyClashException.php'); |
|
| 13 | -require_once(__DIR__ . '/Exceptions/NotCachedException.php'); |
|
| 8 | +require_once(__DIR__.'/Exceptions/CacheInvalidBackendException.php'); |
|
| 9 | +require_once(__DIR__.'/Exceptions/CacheInvalidParameterException.php'); |
|
| 10 | +require_once(__DIR__.'/Exceptions/CacheUnsupportedOperation.php'); |
|
| 11 | +require_once(__DIR__.'/Exceptions/CacheInvalidDataException.php'); |
|
| 12 | +require_once(__DIR__.'/Exceptions/CacheKeyClashException.php'); |
|
| 13 | +require_once(__DIR__.'/Exceptions/NotCachedException.php'); |
|
| 14 | 14 | |
| 15 | 15 | // CODE |
| 16 | -require_once(__DIR__ . '/CacheLogEnum.php'); |
|
| 17 | -require_once(__DIR__ . '/CacheKey.php'); |
|
| 18 | -require_once(__DIR__ . '/Cached.php'); |
|
| 19 | -require_once(__DIR__ . '/CachedObject.php'); |
|
| 20 | -require_once(__DIR__ . '/CacheData.php'); |
|
| 21 | -require_once(__DIR__ . '/CacheAbstract.php'); |
|
| 16 | +require_once(__DIR__.'/CacheLogEnum.php'); |
|
| 17 | +require_once(__DIR__.'/CacheKey.php'); |
|
| 18 | +require_once(__DIR__.'/Cached.php'); |
|
| 19 | +require_once(__DIR__.'/CachedObject.php'); |
|
| 20 | +require_once(__DIR__.'/CacheData.php'); |
|
| 21 | +require_once(__DIR__.'/CacheAbstract.php'); |
|
| 22 | 22 | |
| 23 | 23 | // backends |
| 24 | -require_once(__DIR__ . '/Backend/CacheNull.php'); |
|
| 25 | -require_once(__DIR__ . '/Backend/CacheRAM.php'); |
|
| 24 | +require_once(__DIR__.'/Backend/CacheNull.php'); |
|
| 25 | +require_once(__DIR__.'/Backend/CacheRAM.php'); |
|
| 26 | 26 | // require_once(__DIR__ . '/backends/CacheAPC.php'); |
| 27 | -require_once(__DIR__ . '/Backend/CacheFilesystem.php'); |
|
| 28 | -require_once(__DIR__ . '/Backend/CacheMemcached.php'); |
|
| 27 | +require_once(__DIR__.'/Backend/CacheFilesystem.php'); |
|
| 28 | +require_once(__DIR__.'/Backend/CacheMemcached.php'); |
|
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * @return string |
| 71 | 71 | */ |
| 72 | 72 | public function getHash() { |
| 73 | - return md5($this->base . $this->id . $this->sub); |
|
| 73 | + return md5($this->base.$this->id.$this->sub); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
@@ -79,6 +79,6 @@ discard block |
||
| 79 | 79 | * @codeCoverageIgnore |
| 80 | 80 | */ |
| 81 | 81 | public function debug() { |
| 82 | - return $this->base . ", " . $this->id . ", " . print_r($this->sub, true); |
|
| 82 | + return $this->base.", ".$this->id.", ".print_r($this->sub, true); |
|
| 83 | 83 | } |
| 84 | 84 | } |