CreateHierarchyTreesCommand
extends Command
in package
Generic base class for Solr commands.
Tags
Table of Contents
- $recordLoader : Loader
- Record loader
- $resultsManager : PluginManager
- Search results manager
- __construct() : mixed
- Constructor
- configure() : void
- Configure the command.
- execute() : int
- Run the command.
Properties
$recordLoader
Record loader
protected
Loader
$recordLoader
$resultsManager
Search results manager
protected
PluginManager
$resultsManager
Methods
__construct()
Constructor
public
__construct(Loader $loader, PluginManager $results[, string|null $name = null ]) : mixed
Parameters
- $loader : Loader
-
Record loader
- $results : PluginManager
-
Search results manager
- $name : string|null = null
-
The name of the command; passing null means it must be set in configure()
Return values
mixed —configure()
Configure the command.
protected
configure() : void
Return values
void —execute()
Run the command.
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
-
Input object
- $output : OutputInterface
-
Output object
Return values
int —0 for success