[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2019 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 116 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
__construct(ContainerInterface $container, array $commandMap) X-Ref |
Constructor. param: ContainerInterface $container A container from which to load command services. param: array $commandMap An array with command names as keys and service IDs as values. |
add(string $commandName, string $className) X-Ref |
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 |
get(string $name) X-Ref |
Loads a command. param: string $name The command to load. return: AbstractCommand |
getNames() X-Ref |
Get the names of the registered commands. return: string[] |
has($name) X-Ref |
Checks if a command exists. param: string $name The command to check. return: boolean |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |