[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/console/src/Loader/ -> ContainerLoader.php (summary)

Part of the Joomla Framework Console Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 97 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __construct()
  get()
  getNames()
  has()

Functions
Functions that are not part of a class:

__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.

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