MOON
Server: Apache
System: Linux res.emeff.ca 3.10.0-962.3.2.lve1.5.24.10.el7.x86_64 #1 SMP Wed Mar 20 07:36:02 EDT 2019 x86_64
User: accemeff (1004)
PHP: 7.0.33
Disabled: NONE
Upload Files
File: /home/accemeff/vendor/craftcms/cms/src/events/GetAssetThumbUrlEvent.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;
use yii\base\Event;

/**
 * Get Asset thumb url event class
 *
 * @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
 * @since 3.0
 * @todo rename to AssetThumbUrlEvent in Craft 4
 */
class GetAssetThumbUrlEvent extends Event
{
    // Properties
    // =========================================================================

    /**
     * @var Asset The Asset which the thumbnail should be for.
     */
    public $asset;

    /**
     * @var int Requested thumbnail width
     */
    public $width;

    /**
     * @var int Requested thumbnail height
     */
    public $height;

    /**
     * @var int Requested thumbnail size (width and height)
     * @deprecated in 3.0.0-RC7. Use [[width]] and [[height]] instead
     */
    public $size;

    /**
     * @var bool Whether the thumbnail should be generated if it doesn't exist yet.
     */
    public $generate;

    /**
     * @var string|null Url to requested Asset that should be used instead.
     */
    public $url;
}