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 (http://www.popphp.org/) |
4 | * |
5 | * @link https://github.com/popphp/popphp-framework |
6 | * @author Nick Sagona, III <dev@nolainteractive.com> |
7 | * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) |
8 | * @license http://www.popphp.org/license New BSD License |
9 | */ |
10 | |
11 | /** |
12 | * @namespace |
13 | */ |
14 | namespace Pop\Debug\Handler; |
15 | |
16 | /** |
17 | * Debug handler interface |
18 | * |
19 | * @category Pop |
20 | * @package Pop\Debug |
21 | * @author Nick Sagona, III <dev@nolainteractive.com> |
22 | * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) |
23 | * @license http://www.popphp.org/license New BSD License |
24 | * @version 2.0.0 |
25 | */ |
26 | interface HandlerInterface |
27 | { |
28 | |
29 | /** |
30 | * Set name |
31 | * |
32 | * @param string $name |
33 | * @return HandlerInterface |
34 | */ |
35 | public function setName(string $name): HandlerInterface; |
36 | |
37 | /** |
38 | * Get name |
39 | * |
40 | * @return ?string |
41 | */ |
42 | public function getName(): ?string; |
43 | |
44 | /** |
45 | * Prepare handler data for storage |
46 | * |
47 | * @return array |
48 | */ |
49 | public function prepare(): array; |
50 | |
51 | /** |
52 | * Prepare header string |
53 | * |
54 | * @return string |
55 | */ |
56 | public function prepareHeaderAsString(): string; |
57 | |
58 | /** |
59 | * Prepare handler data as string |
60 | * |
61 | * @return string |
62 | */ |
63 | public function prepareAsString(): string; |
64 | |
65 | } |