update patch 1
This commit is contained in:
@@ -19,16 +19,13 @@ use Symfony\Component\VarDumper\Dumper\ContextProvider\ContextProviderInterface;
|
||||
*/
|
||||
class ContextualizedDumper implements DataDumperInterface
|
||||
{
|
||||
private DataDumperInterface $wrappedDumper;
|
||||
private array $contextProviders;
|
||||
|
||||
/**
|
||||
* @param ContextProviderInterface[] $contextProviders
|
||||
*/
|
||||
public function __construct(DataDumperInterface $wrappedDumper, array $contextProviders)
|
||||
{
|
||||
$this->wrappedDumper = $wrappedDumper;
|
||||
$this->contextProviders = $contextProviders;
|
||||
public function __construct(
|
||||
private DataDumperInterface $wrappedDumper,
|
||||
private array $contextProviders,
|
||||
) {
|
||||
}
|
||||
|
||||
public function dump(Data $data): ?string
|
||||
|
||||
Reference in New Issue
Block a user