classDeriveCommand
final class DeriveCommand
extends Command
Restricted visibility: declared "@visibility namespace". Code outside that scope must not name this declaration.
Collects selected paths, derives one selector, and writes a report to standard output.
Methods§
public function __construct()Registers the single command exposed by the deliver executable.
Calls 1
- static-call
Command::__construct()line 38
protected function configure(): voidDefines source selection, configuration, and report options.
Calls 4
- method-call DeriveCommand::setDescription() line 47
- class-const
InputArgument::REQUIRED()line 48 - class-const
InputOption::VALUE_REQUIRED()line 49 - class-const
InputOption::VALUE_IS_ARRAY()line 50
protected function execute(InputInterface $input, OutputInterface $output): intUses exit code 0 for completed exploration, 1 for interruption or execution failure, and 2 for invalid input.
Parameters
$input | InputInterface | |
$output | OutputInterface |
Returns
intCalls 23
- method-call
InputInterface::getArgument()line 64 - function-call
is_stringline 65 - new InvalidInputException line 66
- method-call Input::configuration() line 68
- new Input line 68
- new Finder line 69
- method-call Finder::in() line 71
- method-call Finder::include() line 74
- method-call Finder::exclude() line 77
- method-call Finder::files() line 79
- new DeriverConfig line 83
- static-call DeriverConfig::default() line 83
- static-call Deriver::prepare() line 84
- class-const ReportFormat::Text() line 86
- new TextReporter line 86
- class-const ReportFormat::Json() line 87
- new JsonReporter line 87
- method-call
OutputInterface::write()line 89 - class-const
OutputInterface::OUTPUT_RAW()line 89 - class-const DeriveCommand::FAILURE() line 90
- class-const DeriveCommand::SUCCESS() line 90
- class-const DeriveCommand::INVALID() line 92
- method-call
OutputInterface::getErrorOutput()line 96
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.