<?php
/**
 * @license MIT
 *
 * Modified by RTM Business on 16-December-2024 using {@see https://github.com/BrianHenryIE/strauss}.
 */

namespace RtmMailVendor\Dependencies\Doctrine\DBAL\Event;

use RtmMailVendor\Dependencies\Doctrine\Common\EventArgs;

/**
 * Base class for schema related events.
 *
 * @deprecated
 */
class SchemaEventArgs extends EventArgs
{
    private bool $preventDefault = false;

    /** @return SchemaEventArgs */
    public function preventDefault()
    {
        $this->preventDefault = true;

        return $this;
    }

    /** @return bool */
    public function isDefaultPrevented()
    {
        return $this->preventDefault;
    }
}
