/
githubmirror
/
joomla-cms
Обзор
Документация
Войти
/
githubmirror
/
joomla-cms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
5.4-dev
libraries/src/Console/Loader/WritableLoaderInterface.php
36 строк
875 B
Allon Moritz
Replace JPATH_PLATFORM with _JEXEC (#40343)
29 май 2023, 11:12
Не верифицирован
29 май 2023, 11:12
e2170c8
Код
Авторство
О чём код?
<?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); }