blob: 38ef3b0f18530d938154e5e5cc56cd05b192edd5 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\VarDumper\Dumper\ContextProvider;
13
14/**
15 * Interface to provide contextual data about dump data clones sent to a server.
16 *
17 * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
18 */
19interface ContextProviderInterface
20{
21 /**
22 * @return array|null Context data or null if unable to provide any context
23 */
24 public function getContext(): ?array;
25}