Returns the names of the properties that should be serialized.
string[]
public function __sleep() : array { return [ 'name', 'attributesMetadata', 'classDiscriminatorMapping', ]; }