CoreFiles by mySites.guru
RendererInterface.php32 lines, 766 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
06456fb5620028388547dccddf6befdd
sha1
eb15b56f32b6e3c26667a456288bbad70630bde1
sha256
10781d5b395ebff9f0c851e5dda13bb8207d8877f1acac23aa2b90b4610e75e3
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Document;

\defined('_JEXEC') or die;

/**
 * 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 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.