public function MemberMetadata::__sleep in Plug 7
Returns the names of the properties that should be serialized.
Return value
string[]
Overrides GenericMetadata::__sleep
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ MemberMetadata.php, line 112
Class
- MemberMetadata
- Stores all metadata needed for validating a class property.
Namespace
Symfony\Component\Validator\MappingCode
public function __sleep() {
return array_merge(parent::__sleep(), array(
'class',
'name',
'property',
));
}