CoreFiles by mySites.guru
OpensearchImage.php62 lines, 1,045 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
0319e63c9a9a7cb1a4b048644999ffcb
sha1
e98f765b53ec2ad66358671d01c84bac61746f03
sha256
0dd5f1738f6d79f06c25be215596eeb5b0e85fc688a5e4d3fd646de196027453
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Document\Opensearch;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Data object representing an OpenSearch image
 *
 * @since  1.7.0
 */
class OpensearchImage
{
    /**
     * The images MIME type
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $type = '';

    /**
     * URL of the image or the image as base64 encoded value
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $data = '';

    /**
     * The image's width
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $width;

    /**
     * The image's height
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $height;
}

The same content is in 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.