W3cubDocs

/Symfony 4.1

FileLinkFormatter

class FileLinkFormatter implements Serializable

Formats debug file links.

Methods

__construct($fileLinkFormat = null, RequestStack $requestStack = null, string $baseDir = null, $urlFormat = null)
format($file, $line)
serialize()
unserialize($serialized)
static generateUrlFormat(UrlGeneratorInterface $router, $routeName, $queryString)

Details

__construct($fileLinkFormat = null, RequestStack $requestStack = null, string $baseDir = null, $urlFormat = null)

Parameters

$fileLinkFormat
RequestStack $requestStack
string $baseDir
$urlFormat

format($file, $line)

Parameters

$file
$line

serialize()

unserialize($serialized)

Parameters

$serialized

static generateUrlFormat(UrlGeneratorInterface $router, $routeName, $queryString)

Parameters

UrlGeneratorInterface $router
$routeName
$queryString

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.html