| Total Complexity | 9 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class SymfonyProxy implements ProxyInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Get Symfony cache directory. |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 7 | public function getCacheDir() |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Start the proxy server. |
||
| 39 | */ |
||
| 40 | 1 | public function start() |
|
| 41 | { |
||
| 42 | 1 | $this->clear(); |
|
| 43 | 1 | } |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Stop the proxy server. |
||
| 47 | */ |
||
| 48 | 1 | public function stop() |
|
| 49 | { |
||
| 50 | // nothing to do |
||
| 51 | 1 | } |
|
| 52 | |||
| 53 | /** |
||
| 54 | * Clear all cached content from the proxy server. |
||
| 55 | */ |
||
| 56 | 6 | public function clear() |
|
| 72 | } |
||
| 73 | 4 | } |
|
| 74 | } |
||
| 75 |