\App\ConsoleModule\CommandsFeatureDisableCommand

CLI command for disabling features

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
configure()
execute()
$manager
$defaultName
N/A
No private methods found
No private properties found
N/A

Properties

$manager

$manager : \App\ConsoleModule\Models\FeatureManager

Type

normal — Webapp's optional features manager

$defaultName

$defaultName : string

Type

normal — Command name

Methods

__construct()

__construct(\App\ConsoleModule\Models\FeatureManager  $manager) : mixed

Constructor

Parameters

\App\ConsoleModule\Models\FeatureManager $manager

Webapp's optional features manager

Returns

mixed

configure()

configure() : void

Configures the feature disable command

execute()

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

Executes the feature disable command

Parameters

\Symfony\Component\Console\Input\InputInterface $input

Command input

\Symfony\Component\Console\Output\OutputInterface $output

Command output

Returns

int —

Exit code