CoreFiles by mySites.guru
RendererInterface.php32 lines, 765 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
ee9782dcffe2a1634cec1b5a1c4e1dc7
sha1
8d16449688147bf4aac62de561b91bdd2a5712d6
sha256
578aa5f7aa7b4e05d958439baaf5519c3659a2509ee5dcebdf8e574f6954701e
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2018 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 3 releases, Joomla 4.0.0-alpha3 to 4.0.0-alpha6. See them all, or every version of this file.