CoreFiles by mySites.guru
ImageFilter.php40 lines, 1,021 bytes, from Joomla_3.8.3-Stable-Full_Package.zip
Raw History Compare with 3.8.2
md5
c6a99bd105cceb52a6180a78b95cfcad
sha1
6154683cb6959d89e08b5738901839fbfc70d6f4
sha256
6373f541f2b2cd0064713edc88cd8226692c9dd45e0ebd73411738d78f30c75c
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2017 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       11.3
 * @deprecated  5.0  Use Joomla\Image\ImageFilter instead.
 */
abstract class ImageFilter extends \Joomla\Image\ImageFilter
{
	/**
	 * Class constructor.
	 *
	 * @param   resource  $handle  The image resource on which to apply the filter.
	 *
	 * @since   11.3
	 * @deprecated  5.0  Use Joomla\Image\ImageFilter instead.
	 */
	public function __construct($handle)
	{
		Log::add('Joomla\CMS\Image\ImageFilter is deprecated, use Joomla\Image\ImageFilter instead.', Log::WARNING, 'deprecated');

		// Inject the PSR-3 compatible logger in for forward compatibility
		$this->setLogger(Log::createDelegatedLogger());

		parent::__construct($handle);
	}
}

The same content is in 12 releases, Joomla 3.8.0-beta2 to 4.0.0-alpha2. See them all, or every version of this file.