TranslationDomainSearchCommand extends Command
Command for listing all translation domains and their corresponding label resource file locations.
This command scans all active packages (or all available packages with --all option) for language resource files (XLF/XML) and displays the translation domain name alongside the file location in EXT: syntax.
only for development purposes
Attributes
- #[AsCommand]
- 'language:domain:search'
- 'Search for translation domain labels and their references (only for development purpose)'
Table of Contents
Methods
- __construct() : mixed
- configure() : void
- Defines the allowed options for this command
- execute() : int
- Lists all translation domains and their file locations
Methods
__construct()
public
__construct(PackageManager $packageManager, LabelFinder $labelFinder) : mixed
Parameters
- $packageManager : PackageManager
- $labelFinder : LabelFinder
configure()
Defines the allowed options for this command
protected
configure() : void
execute()
Lists all translation domains and their file locations
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface