mediatekformation

DoctrineExtractor
in package
implements PropertyListExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface

Extracts data using Doctrine ORM and ODM metadata.

Tags
author

Kévin Dunglas dunglas@gmail.com

Interfaces, Classes, Traits and Enums

PropertyListExtractorInterface
Extracts the list of properties available for the given class.
PropertyTypeExtractorInterface
Type Extractor Interface.
PropertyAccessExtractorInterface
Guesses if the property can be accessed or mutated.

Table of Contents

$classMetadataFactory  : mixed
$entityManager  : mixed
$useDeprecatedConstants  : mixed
__construct()  : mixed
getProperties()  : array<string|int, string>|null
Gets the list of properties available for the given class.
getTypes()  : array<string|int, Type>|null
Gets types of a property.
isReadable()  : bool|null
Is the property readable?
isWritable()  : bool|null
Is the property writable?
getMetadata()  : ClassMetadata|null
getPhpType()  : string|null
Gets the corresponding built-in PHP type.
isAssociationNullable()  : bool
Determines whether an association is nullable.

Properties

Methods

getProperties()

Gets the list of properties available for the given class.

public getProperties(mixed $class[, array<string|int, mixed> $context = [] ]) : array<string|int, string>|null
Parameters
$class : mixed
$context : array<string|int, mixed> = []
Return values
array<string|int, string>|null

getTypes()

Gets types of a property.

public getTypes(mixed $class, mixed $property[, array<string|int, mixed> $context = [] ]) : array<string|int, Type>|null
Parameters
$class : mixed
$property : mixed
$context : array<string|int, mixed> = []
Return values
array<string|int, Type>|null

isReadable()

Is the property readable?

public isReadable(mixed $class, mixed $property[, array<string|int, mixed> $context = [] ]) : bool|null
Parameters
$class : mixed
$property : mixed
$context : array<string|int, mixed> = []
Return values
bool|null

isWritable()

Is the property writable?

public isWritable(mixed $class, mixed $property[, array<string|int, mixed> $context = [] ]) : bool|null
Parameters
$class : mixed
$property : mixed
$context : array<string|int, mixed> = []
Return values
bool|null

getPhpType()

Gets the corresponding built-in PHP type.

private getPhpType(string $doctrineType) : string|null
Parameters
$doctrineType : string
Return values
string|null

Search results