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