CoreFiles by mySites.guru
CacheControllerFactoryInterface.php32 lines, 789 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
aa5e598c3acf02fefc8176d2f1bbb7cd
sha1
0d38469c1cbbc61844a1952b08ed05127df946d6
sha256
e4e0b43f62db6e136666aafb488d535c94190c0229179c6cd896b57af5d2e3fa
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Cache;

defined('_JEXEC') or die;

/**
 * Interface defining a factory which can create CacheController objects
 *
 * @since  4.0.0
 */
interface CacheControllerFactoryInterface
{
	/**
	 * Method to get an instance of a cache controller.
	 *
	 * @param   string  $type     The cache object type to instantiate
	 * @param   array   $options  Array of options
	 *
	 * @return  CacheController
	 *
	 * @since   4.0.0
	 * @throws  \RuntimeException
	 */
	public function createCacheController($type = 'output', $options = array()): CacheController;
}

The same content is in 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.