Code Duplication    Length = 8-9 lines in 3 locations

lib/Command/DocumentPlatform.php 1 location

@@ 71-78 (lines=8) @@
68
	/**
69
	 *
70
	 */
71
	protected function configure() {
72
		parent::configure();
73
		$this->setName('fulltextsearch:document:platform')
74
			 ->setDescription('Get document from index')
75
			 ->addArgument('providerId', InputArgument::REQUIRED, 'providerId')
76
			 ->addArgument('documentId', InputArgument::REQUIRED, 'documentId')
77
			 ->addOption('content', 'c', InputOption::VALUE_NONE, 'return some content');
78
	}
79
80
81
	/**

lib/Command/DocumentProvider.php 1 location

@@ 79-87 (lines=9) @@
76
	/**
77
	 *
78
	 */
79
	protected function configure() {
80
		parent::configure();
81
		$this->setName('fulltextsearch:document:provider')
82
			 ->setDescription('Get document from index')
83
			 ->addArgument('userId', InputArgument::REQUIRED, 'userId')
84
			 ->addArgument('providerId', InputArgument::REQUIRED, 'providerId')
85
			 ->addArgument('documentId', InputArgument::REQUIRED, 'documentId')
86
			 ->addOption('content', 'c', InputOption::VALUE_NONE, 'return some content');
87
	}
88
89
90
	/**

lib/Command/DocumentIndex.php 1 location

@@ 84-91 (lines=8) @@
81
	/**
82
	 *
83
	 */
84
	protected function configure() {
85
		parent::configure();
86
		$this->setName('fulltextsearch:document:index')
87
			 ->setDescription('index one specific document')
88
			 ->addArgument('userId', InputArgument::REQUIRED, 'userId')
89
			 ->addArgument('providerId', InputArgument::REQUIRED, 'providerId')
90
			 ->addArgument('documentId', InputArgument::REQUIRED, 'documentId');
91
	}
92
93
94
	/**