*/ public readonly array $ownerIdentifier; /** * @param class-string $entityClass The owner entity class. * @param array $ownerIdentifier The identifier of the owning entity. */ public function __construct( public readonly string $entityClass, public readonly string $association, array $ownerIdentifier, string $filterHash = '', ) { ksort($ownerIdentifier); $this->ownerIdentifier = $ownerIdentifier; $filterHash = $filterHash === '' ? '' : '_' . $filterHash; parent::__construct(str_replace('\\', '.', strtolower($entityClass)) . '_' . implode(' ', $ownerIdentifier) . '__' . $association . $filterHash); } }