You are here

public function AttributeMetadata::__sleep in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Mapping/AttributeMetadata.php \Symfony\Component\Serializer\Mapping\AttributeMetadata::__sleep()

Returns the names of the properties that should be serialized.

Return value

string[]

File

vendor/symfony/serializer/Mapping/AttributeMetadata.php, line 90

Class

AttributeMetadata
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Component\Serializer\Mapping

Code

public function __sleep() {
  return array(
    'name',
    'groups',
  );
}