Documentation

ClassMetadata
in package
implements ClassMetadataInterface

{@inheritdoc}

Tags
author

Kévin Dunglas dunglas@gmail.com

Table of Contents

Interfaces

ClassMetadataInterface

Properties

$reflClass  : ReflectionClass

Methods

__construct()  : mixed
Constructs a metadata for the given class.
__sleep()  : array<string|int, string>
Returns the names of the properties that should be serialized.
addAttributeMetadata()  : mixed
{@inheritdoc}
getAttributesMetadata()  : array<string|int, mixed>
{@inheritdoc}
getClassDiscriminatorMapping()  : ClassDiscriminatorMapping|null
{@inheritdoc}
getName()  : string
{@inheritdoc}
getReflectionClass()  : ReflectionClass
{@inheritdoc}
merge()  : mixed
{@inheritdoc}
setClassDiscriminatorMapping()  : mixed
{@inheritdoc}

Properties

Methods

__sleep()

Returns the names of the properties that should be serialized.

public __sleep() : array<string|int, string>
Return values
array<string|int, string>

addAttributeMetadata()

{@inheritdoc}

public addAttributeMetadata(AttributeMetadataInterface $attributeMetadata) : mixed
Parameters
$attributeMetadata : AttributeMetadataInterface

getAttributesMetadata()

{@inheritdoc}

public getAttributesMetadata() : array<string|int, mixed>
Return values
array<string|int, mixed>

getName()

{@inheritdoc}

public getName() : string
Return values
string

getReflectionClass()

{@inheritdoc}

public getReflectionClass() : ReflectionClass
Return values
ReflectionClass

merge()

{@inheritdoc}

public merge(ClassMetadataInterface $classMetadata) : mixed
Parameters
$classMetadata : ClassMetadataInterface

        
On this page

Search results