Spade
Mini Shell
| Directory:~$ /proc/self/root/home/lmsyaran/www/joomla5/libraries/src/Console/Loader/ |
| [Home] [System Details] [Kill Me] |
<?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('_JEXEC') 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);
}