We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 169d1a3 commit 1629ef5Copy full SHA for 1629ef5
src/Ubiquity/attributes/items/OneToMany.php
@@ -22,8 +22,9 @@ class OneToMany extends BaseAttribute {
22
public string $className;
23
public ?array $cascade;
24
25
- public function __construct(string $mappedBy, string $className) {
+ public function __construct(string $mappedBy, string $className, ?array $cascade = null) {
26
$this->mappedBy = $mappedBy;
27
$this->className = $className;
28
+ $this->cascade = $cascade;
29
}
30
0 commit comments