\Symfony\Component\VarDumper\Dumper\ContextProviderSourceContextProvider

Tries to provide context from sources (class name, file, line, code excerpt, ...).

Summary

Methods
Properties
Constants
__construct()
getContext()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
htmlEncode()
$limit
$charset
$projectDir
$fileLinkFormatter
N/A

Properties

$limit

$limit

$charset

$charset

$projectDir

$projectDir

$fileLinkFormatter

$fileLinkFormatter

Methods

__construct()

__construct(string  $charset = null, string  $projectDir = null, \Symfony\Component\HttpKernel\Debug\FileLinkFormatter  $fileLinkFormatter = null, int  $limit = 9) : mixed

Parameters

string $charset
string $projectDir
\Symfony\Component\HttpKernel\Debug\FileLinkFormatter $fileLinkFormatter
int $limit

Returns

mixed —

getContext()

getContext() : array|null

Returns

array|null —

Context data or null if unable to provide any context

htmlEncode()

htmlEncode(string  $s) : string

Parameters

string $s

Returns

string —