public function ClassMetadata::__sleep in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Mapping/ClassMetadata.php \Symfony\Component\Validator\Mapping\ClassMetadata::__sleep()
- 8 vendor/symfony/serializer/Mapping/ClassMetadata.php \Symfony\Component\Serializer\Mapping\ClassMetadata::__sleep()
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Mapping/ClassMetadata.php \Symfony\Component\Serializer\Mapping\ClassMetadata::__sleep()
Returns the names of the properties that should be serialized.
Return value
string[]
File
- vendor/
symfony/ serializer/ Mapping/ ClassMetadata.php, line 109
Class
- ClassMetadata
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Component\Serializer\MappingCode
public function __sleep() {
return array(
'name',
'attributesMetadata',
);
}