SourceContextProvider
class SourceContextProvider implements ContextProviderInterface
Пытается предоставить контекст из источников (имя класса, файл, строка, фрагмент кода, .
..).
Методы
| __construct(string $charset = null, string $projectDir = null, FileLinkFormatter $fileLinkFormatter = null, int $limit = 9) | ||
| array|null | getContext() |
Подробности
__construct(string $charset = null, string $projectDir = null, FileLinkFormatter $fileLinkFormatter = null, int $limit = 9)
Параметры
| string | $charset | |
| string | $projectDir | |
| FileLinkFormatter | $fileLinkFormatter | |
| int | $limit |
array|null getContext()
Возвращаемое значение
| array|null | Данные контекста или null, если контекст предоставить невозможно |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Dumper/ContextProvider/SourceContextProvider.html