. */ namespace Doctrine\ORM\Tools\Cli\Task; use Doctrine\ORM\Tools\Cli\AbstractTask; class Version extends AbstractTask { public function extendedHelp() { $this->getPrinter()->write('version extended help' . PHP_EOL, 'HEADER'); $this->getPrinter()->write('version extended help' . PHP_EOL, 'ERROR'); $this->getPrinter()->write('version extended help' . PHP_EOL, 'INFO'); $this->getPrinter()->write('version extended help' . PHP_EOL, 'COMMENT'); $this->getPrinter()->write('version extended help' . PHP_EOL, 'NONE'); } public function basicHelp() { $this->getPrinter()->write('version basic help' . PHP_EOL, 'HEADER'); $this->getPrinter()->write('version basic help' . PHP_EOL, 'ERROR'); $this->getPrinter()->write('version basic help' . PHP_EOL, 'INFO'); $this->getPrinter()->write('version basic help' . PHP_EOL, 'COMMENT'); $this->getPrinter()->write('version basic help' . PHP_EOL, 'NONE'); } public function validate() { return true; } public function run() { $this->getPrinter()->write('version run' . PHP_EOL, 'HEADER'); $this->getPrinter()->write('version run' . PHP_EOL, 'ERROR'); $this->getPrinter()->write('version run' . PHP_EOL, 'INFO'); $this->getPrinter()->write('version run' . PHP_EOL, 'COMMENT'); $this->getPrinter()->write('version run' . PHP_EOL, 'NONE'); } }