[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/console/src/Descriptor/ -> TextDescriptor.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: 280 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  describe()
  getCommandAliasesText()
  describeConsoleCommand()
  describeJoomlaApplication()
  getColumnWidth()
  writeText()

Functions
Functions that are not part of a class:

describe(OutputInterface $output, $object, array $options = [])   X-Ref
Describes an object.

param: OutputInterface  $output   The output object to use.
param: object           $object   The object to describe.
param: array            $options  Descriptor options.
return: void

getCommandAliasesText(AbstractCommand $command)   X-Ref
Formats command aliases to show them in the command description.

param: AbstractCommand  $command  The command to process
return: string

describeConsoleCommand(AbstractCommand $command, array $options)   X-Ref
Describes a command.

param: AbstractCommand  $command  The command being described.
param: array            $options  Descriptor options.
return: void

describeJoomlaApplication(Application $app, array $options)   X-Ref
Describes an application.

param: Application  $app      The application being described.
param: array        $options  Descriptor options.
return: void

getColumnWidth(array $commands)   X-Ref
No description

writeText($content, array $options = [])   X-Ref
Writes text to the output.

param: string  $content  The message.
param: array   $options  The options to use for formatting the output.
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer