SiteListCommand
class \
- Extends
- Command
Command for listing all configured sites
Attributes
- #[AsCommand]
- 'site:list'
- 'Shows the list of sites available to the system.'
Table of Contents
Properties
Methods
- __construct() : mixed
- execute() : int
- Shows a table with all configured sites
Properties
$siteConfiguration read-only
protected
SiteConfiguration
$siteConfiguration
$siteFinder read-only
protected
SiteFinder
$siteFinder
Methods
__construct()
public
__construct(SiteFinder $siteFinder, SiteConfiguration $siteConfiguration) : mixed
Parameters
- $siteFinder : SiteFinder
- $siteConfiguration : SiteConfiguration
execute()
Shows a table with all configured sites
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface