Cascade

class \TYPO3\CMS\Extbase\Attribute\ORM\Cascade

Attributes

#[Attribute]
\Attribute::TARGET_PROPERTY

Table of Contents

Properties

$value  : string|null

Methods

__construct()  : mixed
Currently, Extbase does only support "remove".

Properties

$value read-only

public string|null $value = null

Methods

__construct()

Currently, Extbase does only support "remove".

public __construct(["remove"|null $value = null ]) : mixed

"remove" deletes an object on persistence when it has been removed from the property. Re-assigning a collection with unchanged content does not remove anything.

Other possible cascade operations would be: "persist", "merge", "detach", "refresh", "all"

Parameters

$value : "remove"|null = null

Tags

see
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#transitive-persistence-cascade-operations
On this page