CoreFiles by mySites.guru
CacheControllerFactoryInterface.php32 lines, 808 bytes, from Joomla_4.3.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.3.0-alpha2
md5
d89c8359318dbdec82891d2b806a7b4a
sha1
61ccdb049c2236a13819ea8656f56953b7764881
sha256
2ac91a2f747145ed86d99dde7bd5ad0a7333356aaa04e0ae92198ac7975af0e5
<?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;

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

The same content is in 6 releases, Joomla 4.2.7-rc1 to 4.3.0-alpha3. See them all, or every version of this file.