CoreFiles by mySites.guru
ControllerInterface.php35 lines, 773 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
f0a050d5bd13c9d48b61dc3cdfa81910
sha1
2bd64e22e65d206caf03dd871df9915b5a507180
sha256
bbc68d889ee1132d8616c0a295c225713d804a4606cd750f6aedcaa3870abeb9
<?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.txt
 */

namespace Joomla\CMS\MVC\Controller;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') 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 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.