File "SchemaEventArgs.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/doctrine/dbal/src/Event/SchemaEventArgs.php
File size: 486 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Doctrine\DBAL\Event;

use 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;
    }
}