out('This is the main method called from SampleShell'); } /** * derp method * * @return void */ public function derp() { $this->out('This is the example method called from TestPlugin.SampleShell'); } public function withAbort() { $this->abort('Bad things'); } public function returnValue() { return 99; } /** * @inheritDoc */ public function runCommand(array $argv, bool $autoMethod = false, array $extra = []) { return parent::runCommand($argv, $autoMethod, $extra); } /** * @inheritDoc */ public function getOptionParser(): ConsoleOptionParser { return parent::getOptionParser(); } }