mediatekformation

DoctrineOrmTypeGuesser
in package
implements FormTypeGuesserInterface

Interfaces, Classes, Traits and Enums

FormTypeGuesserInterface

Table of Contents

$registry  : mixed
$cache  : mixed
$useDeprecatedConstants  : mixed
__construct()  : mixed
guessMaxLength()  : ValueGuess|null
Returns a guess about the field's maximum length.
guessPattern()  : ValueGuess|null
Returns a guess about the field's pattern.
guessRequired()  : ValueGuess|null
Returns a guess whether a property of a class is required.
guessType()  : TypeGuess|null
Returns a field guess for a property name of a class.
getMetadata()  : mixed
getRealClass()  : string

Properties

Methods

guessMaxLength()

Returns a guess about the field's maximum length.

public guessMaxLength(mixed $class, mixed $property) : ValueGuess|null
Parameters
$class : mixed

The fully qualified class name

$property : mixed

The name of the property to guess for

Return values
ValueGuess|null

A guess for the field's maximum length

guessPattern()

Returns a guess about the field's pattern.

public guessPattern(mixed $class, mixed $property) : ValueGuess|null
Parameters
$class : mixed

The fully qualified class name

$property : mixed

The name of the property to guess for

Return values
ValueGuess|null

A guess for the field's required pattern

guessRequired()

Returns a guess whether a property of a class is required.

public guessRequired(mixed $class, mixed $property) : ValueGuess|null
Parameters
$class : mixed

The fully qualified class name

$property : mixed

The name of the property to guess for

Return values
ValueGuess|null

A guess for the field's required setting

guessType()

Returns a field guess for a property name of a class.

public guessType(mixed $class, mixed $property) : TypeGuess|null
Parameters
$class : mixed

The fully qualified class name

$property : mixed

The name of the property to guess for

Return values
TypeGuess|null

A guess for the field's type and options

getMetadata()

protected getMetadata(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

getRealClass()

private static getRealClass(string $class) : string
Parameters
$class : string
Return values
string

Search results