getName() === \stdClass::class; } /** * {@inheritDoc} */ public function export(object $object, \ReflectionObject $reflectionObject, array $path, array $parentIds) : array { $exported = $this->exporter->exportArray((array) $object, $path, $parentIds); $exported[0] = '(object) ' . $exported[0]; return $exported; } }