function Exporter::export
Same name in this branch
- 11.1.x vendor/sebastian/exporter/src/Exporter.php \SebastianBergmann\Exporter\Exporter::export()
- 11.1.x vendor/symfony/var-exporter/Internal/Exporter.php \Symfony\Component\VarExporter\Internal\Exporter::export()
20 calls to Exporter::export()
- ArrayHasKey::toString in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Traversable/ ArrayHasKey.php - Returns a string representation of the constraint.
- Constraint::failureDescription in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Constraint.php - Returns the description of the failure.
- Constraint::failureDescriptionInContext in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Constraint.php - Returns the description of the failure when this constraint appears in context of an $operator expression.
- DispatchingEmitter::testAssertionFailed in vendor/
phpunit/ phpunit/ src/ Event/ Emitter/ DispatchingEmitter.php - DispatchingEmitter::testAssertionSucceeded in vendor/
phpunit/ phpunit/ src/ Event/ Emitter/ DispatchingEmitter.php
File
-
vendor/
phpunit/ phpunit/ src/ Util/ Exporter.php, line 25
Class
- Exporter
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\UtilCode
public static function export(mixed $value, bool $exportObjects = false) : string {
if (self::isExportable($value) || $exportObjects) {
return (new \SebastianBergmann\Exporter\Exporter())->export($value);
}
return '{enable export of objects to see this value}';
}