Ctrl K
ComunidadGuías…

src/events/VolumeEvent.php

Rama 5.x · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
<?php
/**
 * @link https://craftcms.com/
 * @copyright Copyright (c) Pixel & Tonic, Inc.
 * @license https://craftcms.github.io/license/
 */

namespace craft\events;

use craft\base\Event;
use craft\models\Volume;

/**
 * VolumeEvent class.
 *
 * @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
 * @since 3.0.0
 */
class VolumeEvent extends Event
{
    /**
     * @var Volume The volume associated with the event.
     */
    public Volume $volume;

    /**
     * @var bool Whether the volume is brand new
     */
    public bool $isNew = false;
}