Code Duplication    Length = 8-9 lines in 3 locations

src/Eccube/Command/GeneratorCommand/EntityFromDbGenerator.php 1 location

@@ 45-53 (lines=9) @@
42
     */
43
    private $tableList = null;
44
45
    protected function getHeader()
46
    {
47
        $this->output->writeln('------------------------------------------------------');
48
        $this->output->writeln('---Plugin Generator for Entity');
49
        $this->output->writeln('---[*]You need to create table schema first.');
50
        $this->output->writeln('---[*]You can exit from Console Application, by typing '.self::STOP_PROCESS.' instead of typing another word.');
51
        $this->output->writeln('------------------------------------------------------');
52
        $this->output->writeln('');
53
    }
54
55
    protected function initFieldSet()
56
    {

src/Eccube/Command/GeneratorCommand/EntityFromYamlGenerator.php 1 location

@@ 42-50 (lines=9) @@
39
     */
40
    private $ymlList = null;
41
42
    protected function getHeader()
43
    {
44
        $this->output->writeln('------------------------------------------------------');
45
        $this->output->writeln('---Plugin Generator for Entity');
46
        $this->output->writeln('---[*]You need to create yml file first.');
47
        $this->output->writeln('---[*]You can exit from Console Application, by typing '.self::STOP_PROCESS.' instead of typing another word.');
48
        $this->output->writeln('------------------------------------------------------');
49
        $this->output->writeln('');
50
    }
51
52
    protected function initFieldSet()
53
    {

src/Eccube/Command/GeneratorCommand/PluginGenerator.php 1 location

@@ 48-55 (lines=8) @@
45
     */
46
    private $events = null;
47
48
    protected function getHeader()
49
    {
50
        $this->output->writeln('------------------------------------------------------');
51
        $this->output->writeln('---Plugin Generator');
52
        $this->output->writeln('---[*]You can exit from Console Application, by typing '.self::STOP_PROCESS.' instead of typing another word.');
53
        $this->output->writeln('------------------------------------------------------');
54
        $this->output->writeln('');
55
    }
56
57
    protected function initFieldSet()
58
    {