Skip to content

Commit c535e4a

Browse files
Paul KreinerPaul Kreiner
Paul Kreiner
authored and
Paul Kreiner
committed
Removed dupe markdown block and deprecated method
Signed-off-by: Paul Kreiner <[email protected]>
1 parent ba0a69d commit c535e4a

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

README.md

-9
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,6 @@ $registry = new CollectorRegistry(new APC());
103103
(see the `README.APCng.md` file for more details)
104104

105105

106-
Using the APC or APCng storage:
107-
```php
108-
$registry = new CollectorRegistry(new APCng());
109-
or
110-
$registry = new CollectorRegistry(new APC());
111-
```
112-
(see the `README.APCng.md` file for more details)
113-
114-
115106
### Advanced Usage
116107

117108
#### Advanced Histogram Usage

src/Prometheus/Storage/APCng.php

-10
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,6 @@ private function addItemToKey(string $key, string $item): void
252252
}
253253
}
254254

255-
/**
256-
* @deprecated use replacement method wipeStorage from Adapter interface
257-
*
258-
* @return void
259-
*/
260-
public function flushAPC(): void
261-
{
262-
$this->wipeStorage();
263-
}
264-
265255
/**
266256
* Removes all previously stored data from apcu
267257
*

0 commit comments

Comments
 (0)