Back to Joomla project (class list)

Class ExtensionDiscoverCommand - list of methods

Console command for discovering extensions
Package: Joomla\CMS\Console
Copyright: (C) 2021 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Console/ExtensionDiscoverCommand.php
Project: Joomla

Method Summary

public
()

Instantiate the command.
Since
  • 4.0.0
Show source code of this method: __construct Source Code

private void
(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)

Configures the IO
Parameters
  • \Symfony\Component\Console\Input\InputInterface $input Console Input
  • \Symfony\Component\Console\Output\OutputInterface $output Console Output
Returns
  • void
Since
  • 4.0.0
Show source code of this method: configureIO Source Code

protected void
()

Initialise the command.
Returns
  • void
Since
  • 4.0.0
Show source code of this method: configure Source Code

public int
()

Used for discovering extensions
Returns
  • int The count of discovered extensions
Since
  • 4.0.0
-
  • \Exception
Show source code of this method: processDiscover Source Code

public string
(int $count)

Used for finding the text for the note
Parameters
  • int $count The count of installed Extensions
Returns
  • string The text for the note
Since
  • 4.0.0
Show source code of this method: getNote Source Code

protected int
(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)

Internal function to execute the command.
Parameters
  • \Symfony\Component\Console\Input\InputInterface $input The input to inject into the command.
  • \Symfony\Component\Console\Output\OutputInterface $output The output to inject into the command.
Returns
  • int The command exit code
Since
  • 4.0.0
Show source code of this method: doExecute Source Code

Properties Summary

protected static string
$defaultName
The default command name
Since
  • 4.0.0
private \Symfony\Component\Console\Input\InputInterface
$cliInput
Stores the Input Object
Since
  • 4.0.0
private \Symfony\Component\Console\Style\SymfonyStyle
$ioStyle
SymfonyStyle Object
Since
  • 4.0.0

Tags Summary

Since
4.0.0