Documentation

EntityDto
in package

FinalYes
Tags
author

Javier Eguiluz javier.eguiluz@gmail.com

Table of Contents

Properties

$actions  : ActionCollection|null
$fields  : FieldCollection|null
$fqcn  : string
$instance  : mixed
$isAccessible  : bool
$metadata  : ClassMetadataInfo
$permission  : string|null
$primaryKeyName  : mixed
$primaryKeyValue  : mixed

Methods

__construct()  : mixed
__toString()  : string
getActions()  : ActionCollection
getAllPropertyNames()  : array<string|int, mixed>
Returns the names of all properties defined in the entity, no matter if they are used or not in the application.
getFields()  : FieldCollection|null
getFqcn()  : string
getInstance()  : mixed
getName()  : string
getPermission()  : string|null
getPrimaryKeyName()  : string|null
getPrimaryKeyValue()  : mixed
getPrimaryKeyValueAsString()  : string
getPropertyDataType()  : mixed
getPropertyMetadata()  : KeyValueStore
hasProperty()  : bool
isAccessible()  : bool
isAssociation()  : bool
isEmbeddedClassProperty()  : bool
isToManyAssociation()  : bool
isToOneAssociation()  : bool
markAsInaccessible()  : void
newWithInstance()  : self
setActions()  : void
setFields()  : void
setInstance()  : void
toString()  : string

Properties

$isAccessible

private bool $isAccessible = true

$primaryKeyName

private mixed $primaryKeyName

$primaryKeyValue

private mixed $primaryKeyValue = null

Methods

__toString()

public __toString() : string
Return values
string

getAllPropertyNames()

Returns the names of all properties defined in the entity, no matter if they are used or not in the application.

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

getFqcn()

public getFqcn() : string
Return values
string

getName()

public getName() : string
Return values
string

getPermission()

public getPermission() : string|null
Return values
string|null

getPrimaryKeyName()

public getPrimaryKeyName() : string|null
Return values
string|null

getPrimaryKeyValue()

public getPrimaryKeyValue() : mixed

getPrimaryKeyValueAsString()

public getPrimaryKeyValueAsString() : string
Return values
string

getPropertyDataType()

public getPropertyDataType(string $propertyName) : mixed
Parameters
$propertyName : string

hasProperty()

public hasProperty(string $propertyName) : bool
Parameters
$propertyName : string
Return values
bool

isAccessible()

public isAccessible() : bool
Return values
bool

isAssociation()

public isAssociation(string $propertyName) : bool
Parameters
$propertyName : string
Return values
bool

isEmbeddedClassProperty()

public isEmbeddedClassProperty(string $propertyName) : bool
Parameters
$propertyName : string
Return values
bool

isToManyAssociation()

public isToManyAssociation(string $propertyName) : bool
Parameters
$propertyName : string
Return values
bool

isToOneAssociation()

public isToOneAssociation(string $propertyName) : bool
Parameters
$propertyName : string
Return values
bool

markAsInaccessible()

public markAsInaccessible() : void

newWithInstance()

public newWithInstance(mixed $newEntityInstance) : self
Parameters
$newEntityInstance : mixed
Return values
self

setInstance()

public setInstance(object|null $newEntityInstance) : void
Parameters
$newEntityInstance : object|null

toString()

public toString() : string
Return values
string

        
On this page

Search results