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