src/events/ReplaceAssetEvent.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;
/**
* Replace asset event class.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0.0
*/
class ReplaceAssetEvent extends AssetEvent
{
/**
* @var string file on server that is being used to replace
*/
public string $replaceWith;
/**
* @var string the file name that will be used
*/
public string $filename;
}