src/events/ModelEvent.php
Rama 5.x · réplica de lectura del repositorio original.
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\events;
/**
* ModelEvent class.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0.0
*/
class ModelEvent extends \yii\base\ModelEvent
{
/**
* @var bool Whether the model is brand new
*/
public bool $isNew = false;
}