behaviors/SoftDelete.php
public function remove() {

        // evaluate timestamp and set attribute
        //$timestamp = $this->evaluateTimestamp();
        $attribute = $this->attribute;
        $this->owner->$attribute = self::IS_DELETED;

        // save record
        $this->owner->save(false, [$attribute]);
    }
public function remove() {

        // evaluate timestamp and set attribute
        //$timestamp = $this->evaluateTimestamp();
        $attribute = $this->attribute;
        $this->owner->$attribute = self::IS_DELETED;

        // save record
        $this->owner->save(false, [$attribute]);
    }
Remove (aka soft-delete) record