CoreFiles by mySites.guru
WritableLoaderInterface.php36 lines, 883 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
a3b5dfcff64cecaed539482c94696809
sha1
bae6a3f39a25b18c2201547e35467993a7e9def0
sha256
82249945512a2aefac4a56963bc2cf628b688cdb1d6e5bbba01199c65248146e
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Console\Loader;

use Joomla\Console\Loader\LoaderInterface;

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

/**
 * Interface defining a writable command loader.
 *
 * @since  4.0.0
 */
interface WritableLoaderInterface extends LoaderInterface
{
    /**
     * Adds a command to the loader.
     *
     * @param   string  $commandName  The name of the command to load.
     * @param   string  $className    The fully qualified class name of the command.
     *
     * @return  void
     *
     * @since   4.0.0
     */
    public function add(string $commandName, string $className);
}

The same content is in 70 releases, Joomla 4.2.1 to 4.4.14. See them all, or every version of this file.