CoreFiles by mySites.guru
WritableLoaderInterface.php33 lines, 783 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
056e9e3cd8362119c49e2bfb1699ae95
sha1
794c3d5d5623b7c8a3b2841a359425ddc36a7c2e
sha256
f996ee9b0ac9269ec76cf56c3f6e8bf479f28b748eb36aa05d22e92199445dad
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 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 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.