Symfony\Bridge\Twig\Extension\CodeExtension::formatFile
Formats a file path.
Signature
public function formatFile(string
$file,
[integer
$line = null,
[string
$text = null]] )
Parameters
$file
— string- An absolute file path
$line
— integer- The line number
$text
— string- Use this text for the link rather than the file path
Returns
- string