src/Schema/AbstractForeignKey.php
public function onUpdate(string $rule = self::NO_ACTION): AbstractForeignKey
    {
        $this->updateRule = strtoupper($rule);

        return $this;
    }
public function onUpdate(string $rule = self::NO_ACTION): AbstractForeignKey
    {
        $this->updateRule = strtoupper($rule);

        return $this;
    }
public function onUpdate ( string $ rule = self :: NO_ACTION ) : AbstractForeignKey { $ this -> updateRule = strtoupper ( $ rule ) ; return $ this ; }
Set foreign key update behaviour.

@param string $rule Possible values: NO ACTION, CASCADE, etc (driver specific).
@return self
Set foreign key update behaviour .