CoreFiles by mySites.guru
ImageFilter.php36 lines, 772 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
20ddb9bc4787efa491e2fed32f92295e
sha1
5cd3304ed8e41cdc80b40851d2d023245c4b5838
sha256
b32b1acfd0f4db62ba28ff8839484c3da681cfe8e8ffa5183fa7e8d64ae6c661
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Image;

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Log\Log;

/**
 * Class to manipulate an image.
 *
 * @since  1.7.3
 */
abstract class ImageFilter extends \Joomla\Image\ImageFilter
{
	/**
	 * Class constructor.
	 *
	 * @param   resource  $handle  The image resource on which to apply the filter.
	 *
	 * @since  1.7.3
	 */
	public function __construct($handle)
	{
		// Inject the PSR-3 compatible logger in for forward compatibility
		$this->setLogger(Log::createDelegatedLogger());

		parent::__construct($handle);
	}
}

The same content is in 21 releases, Joomla 3.9.20-rc to 3.10.0-alpha1. See them all, or every version of this file.