1 | <?php |
||
16 | class InvalidTemplateContentException extends \InvalidArgumentException |
||
17 | { |
||
18 | /** |
||
19 | * @param string $escape_method |
||
20 | * @param string $source_fragment |
||
21 | * |
||
22 | * @return static |
||
23 | */ |
||
24 | public static function containsImplicitDoubleEscape($escape_method, $source_fragment) |
||
30 | |||
31 | public static function forEmptyTemplate() |
||
35 | |||
36 | } |
||
37 |
It is generally a best practice as it is often more readable to use concatenation instead of interpolation for variables inside strings.