Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | class Profile extends Component |
||
24 | { |
||
25 | // Constants |
||
26 | // ========================================================================= |
||
27 | |||
28 | const CATEGORY_PREFIX = 'Twig Profiler'; |
||
29 | |||
30 | // Public Methods |
||
31 | // ========================================================================= |
||
32 | |||
33 | /** |
||
34 | * Start logging profiling data |
||
35 | * |
||
36 | * @param string $profile |
||
37 | */ |
||
38 | public function begin(string $profile) |
||
44 | ); |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * End logging profiling data |
||
49 | * |
||
50 | * @param string $profile |
||
51 | */ |
||
52 | public function end(string $profile) |
||
61 |