CoreFiles by mySites.guru
RendererInterface.php35 lines, 869 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
a3d283b4114b2892e611406d0d665bd9
sha1
0a676281c421849d9d6e2c76e57fb384232525c3
sha256
5965747634aea03089ae6181d4bfbeedbcc0664b4e867b379ee7927d4e57415f
<?php

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

namespace Joomla\CMS\Document;

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

/**
 * Interface for a document renderer
 *
 * @since  4.0.0
 */
interface RendererInterface
{
    /**
     * Renders a script and returns the results as a string
     *
     * @param   string  $name     The name of the element to render
     * @param   array   $params   Array of values
     * @param   string  $content  Override the output of the renderer
     *
     * @return  string  The output of the script
     *
     * @since   4.0.0
     */
    public function render($name, $params = null, $content = null);
}

The same content is in 225 releases, Joomla 4.2.1 to 6.2.1-rc1. See them all, or every version of this file.