CoreFiles by mySites.guru
ControllerInterface.php35 lines, 777 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
f5774ea8177b29f853f2ea7728206ca9
sha1
5ebe63c1dead83a93be61aa05154da1e39500752
sha256
6213509b8da737068765965a681e1bfc2c007f5015f8cb068bf08886db564ab1
<?php

/**
 * Joomla! Content Management System
 *
 * @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;

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

/**
 * 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 27 releases, Joomla 4.2.1 to 4.3.1. See them all, or every version of this file.