Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Pop PHP Framework (https://www.popphp.org/) |
| 4 | * |
| 5 | * @link https://github.com/popphp/popphp-framework |
| 6 | * @author Nick Sagona, III <dev@noladev.com> |
| 7 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Debug\Storage; |
| 15 | |
| 16 | use Pop\Debug\Handler\AbstractHandler; |
| 17 | |
| 18 | /** |
| 19 | * Debug storage interface |
| 20 | * |
| 21 | * @category Pop |
| 22 | * @package Pop\Debug |
| 23 | * @author Nick Sagona, III <dev@noladev.com> |
| 24 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 25 | * @license https://www.popphp.org/license New BSD License |
| 26 | * @version 3.0.0 |
| 27 | */ |
| 28 | interface StorageInterface |
| 29 | { |
| 30 | |
| 31 | /** |
| 32 | * Prepare events |
| 33 | * |
| 34 | * @param string $id |
| 35 | * @param string $name |
| 36 | * @param AbstractHandler $handler |
| 37 | * @return array |
| 38 | */ |
| 39 | public function prepareEvents(string $id, string $name, AbstractHandler $handler): array; |
| 40 | |
| 41 | /** |
| 42 | * Save debug data |
| 43 | * |
| 44 | * @param string $id |
| 45 | * @param string $name |
| 46 | * @param AbstractHandler $handler |
| 47 | * @return void |
| 48 | */ |
| 49 | public function save(string $id, string $name, AbstractHandler $handler): void; |
| 50 | |
| 51 | /** |
| 52 | * Clear all debug data |
| 53 | * |
| 54 | * @return void |
| 55 | */ |
| 56 | public function clear(): void; |
| 57 | |
| 58 | } |