ClassSchema

class \TYPO3\CMS\Extbase\Reflection\ClassSchema

A class schema

Tags

phpstan-import-type

PropertyDefinitionSpec from Property

Table of Contents

Methods

__construct()  : mixed
Constructs this class schema
getDomainObjectProperties()  : Property[]
Returns all properties that do not start with an underscore like $_localizedUid
getMethod()  : Method
getMethods()  : array|Method[]
getProperties()  : array|Property[]
getProperty()  : Property
hasMethod()  : bool
hasProperty()  : bool
If the class schema has a certain property.
reflectMethods()  : void
reflectProperties()  : void

Methods

getDomainObjectProperties()

Returns all properties that do not start with an underscore like $_localizedUid

public getDomainObjectProperties() : Property[]

Return values

Property[]

hasMethod()

public hasMethod(string $methodName) : bool

Parameters

$methodName : string

Return values

bool

hasProperty()

If the class schema has a certain property.

public hasProperty(string $propertyName) : bool

Parameters

$propertyName : string

Name of the property

Return values

bool

reflectProperties()

protected reflectProperties(ReflectionClass $reflectionClass) : void

Parameters

$reflectionClass : ReflectionClass

Tags

throws
NoSuchValidatorException
On this page