File: /home/accemeff/vendor/craftcms/cms/src/events/DraftEvent.php
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\events;
use yii\base\Event;
/**
* Draft event class.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0
*/
class DraftEvent extends Event
{
// Properties
// =========================================================================
/**
* @var \craft\models\EntryDraft|null The draft model associated with the event.
*/
public $draft;
/**
* @var bool Whether the draft is brand new
*/
public $isNew = false;
}