CoreFiles by mySites.guru
CacheControllerFactoryInterface.php35 lines, 888 bytes, from Joomla_4.3.0-beta1-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta3
md5
09955c910a25c63e208c33099a367cd2
sha1
0c2499e91365cbe3296414b04438ee62eedef29c
sha256
913ccc6bdbdb71215c997f269450becd60a52a6c7d8dd1917075fdfbee2f8af7
<?php

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

namespace Joomla\CMS\Cache;

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

/**
 * 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 = []): CacheController;
}

The same content is in 207 releases, Joomla 4.3.0-beta1 to 6.2.0. See them all, or every version of this file.