CoreFiles by mySites.guru
CacheControllerFactoryInterface.php32 lines, 813 bytes, from Joomla_4.2.5-Stable-Full_Package.zip
Raw History Compare with 4.2.4
md5
c4e4a802175b41163a14d909f799942f
sha1
45f71b1db5a1088f5e23680e557ad6dd5336a253
sha256
a87b98d973ebb84f704763bbd4b74e6f0f1a7065c68818e8c565e37e258c9d2a
<?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 = array()): CacheController;
}

The same content is in 5 releases, Joomla 4.2.5 to 4.3.0-alpha2. See them all, or every version of this file.