CoreFiles by mySites.guru
WritableLoaderInterface.php33 lines, 783 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
ce8e56a0f3c675f98c540014c2c05fa7
sha1
07c31209ad84ed8b6476b496f3dcd37b157663f2
sha256
5b9b8249df4e2a34412505943c25bf94177fc603034a8d95dd73d21abca4fccc
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Console\Loader;

use Joomla\Console\Loader\LoaderInterface;

\defined('JPATH_PLATFORM') or die;

/**
 * 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 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.