CoreFiles by mySites.guru
ControllerInterface.php33 lines, 684 bytes, from Joomla_4.0.0-Stable-Full_Package.zip
Raw History Compare with 3.10.12
md5
4eed5902125dd922344e41600d487711
sha1
45cb0d80db4034c76baefc159a2ecb47a6118e65
sha256
489bc418260561dd0431e3efbdaf9660b5b2bb021d17e20857f597693fd9805d
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Controller
 *
 * @copyright   (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\MVC\Controller;

\defined('JPATH_PLATFORM') or die;

/**
 * Joomla Platform CMS Interface
 *
 * @since  4.0.0
 */
interface ControllerInterface
{
	/**
	 * Execute a controller task.
	 *
	 * @param   string  $task  The task to perform.
	 *
	 * @return  mixed   The value returned by the called method.
	 *
	 * @since   4.0.0
	 * @throws  \InvalidArgumentException
	 * @throws  \RuntimeException
	 */
	public function execute($task);
}

The same content is in 9 releases, Joomla 4.0.0-beta6 to 4.0.0. See them all, or every version of this file.