W3cubDocs

/Symfony 4.1

VarDumperTestTrait

trait VarDumperTestTrait

Methods

assertDumpEquals($expected, $data, $filter = 0, $message = '')
assertDumpMatchesFormat($expected, $data, $filter = 0, $message = '')
getDump($data, $key = null, $filter = 0)

Details

assertDumpEquals($expected, $data, $filter = 0, $message = '')

Parameters

$expected
$data
$filter
$message

assertDumpMatchesFormat($expected, $data, $filter = 0, $message = '')

Parameters

$expected
$data
$filter
$message

protected getDump($data, $key = null, $filter = 0)

Parameters

$data
$key
$filter

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Test/VarDumperTestTrait.html