CoreFiles by mySites.guru
ControllerInterface.php35 lines, 781 bytes, from Joomla_4.4.14-Stable-Full_Package.zip
Raw History Compare with 4.4.13
md5
350603d6502af22029bfdbd34edd1983
sha1
2427e193c4d378591d71e0746494d99e3792b696
sha256
7658af0f07462e8d984e4eac9f16622ba01a76b7152f479bcacb4ce83ac1fbf2
<?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('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 43 releases, Joomla 4.3.2-rc1 to 4.4.14. See them all, or every version of this file.