| 1 | <?php |
||
| 13 | class StakxTwigTextProfiler extends Twig_Profiler_Dumper_Text |
||
| 14 | { |
||
| 15 | private $templateMappings; |
||
| 16 | |||
| 17 | public function setTemplateMappings($templateMappings) |
||
| 21 | |||
| 22 | protected function formatTemplate(Twig_Profiler_Profile $profile, $prefix) |
||
| 26 | |||
| 27 | protected function formatNonTemplate(Twig_Profiler_Profile $profile, $prefix) |
||
| 31 | |||
| 32 | private function getMappedTemplateName(Twig_Profiler_Profile $profile) |
||
| 38 | } |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.