Copied!

EntityReference

EntityReference.php : 13
Read-only
Final

Properties

public $entityId

EntityReference.php : 19
public string $entityId
Attributes
#[Length]
$max: 255
#[NotBlank]
$normalizer: 'trim'

public $entityType

EntityReference.php : 16
public string $entityType
Attributes
#[Length]
$max: 64
#[NotBlank]

Methods

public__construct()

EntityReference.php : 15
public __construct(string $entityType, string $entityId)

Parameters

Name Type Default value Description
$entityType string - -
$entityId string - -