Code Duplication    Length = 7-7 lines in 3 locations

Builder/Admin/BaseBuilder.php 3 locations

@@ 504-510 (lines=7) @@
501
        }
502
    }
503
504
    public function findGenericAction($actionName)
505
    {
506
        $class = 'Admingenerator\\GeneratorBundle\\Generator\\Action\\Generic\\'
507
                .Container::camelize(str_replace('-', '_', $actionName).'Action');
508
509
        return (class_exists($class)) ? new $class($actionName, $this) : false;
510
    }
511
512
    public function findObjectAction($actionName)
513
    {
@@ 512-518 (lines=7) @@
509
        return (class_exists($class)) ? new $class($actionName, $this) : false;
510
    }
511
512
    public function findObjectAction($actionName)
513
    {
514
        $class = 'Admingenerator\\GeneratorBundle\\Generator\\Action\\Object\\'
515
                .Container::camelize(str_replace('-', '_', $actionName).'Action');
516
517
        return (class_exists($class)) ? new $class($actionName, $this) : false;
518
    }
519
520
    public function findBatchAction($actionName)
521
    {
@@ 520-526 (lines=7) @@
517
        return (class_exists($class)) ? new $class($actionName, $this) : false;
518
    }
519
520
    public function findBatchAction($actionName)
521
    {
522
        $class = 'Admingenerator\\GeneratorBundle\\Generator\\Action\\Batch\\'
523
                .Container::camelize(str_replace('-', '_', $actionName).'Action');
524
525
        return (class_exists($class)) ? new $class($actionName, $this) : false;
526
    }
527
528
    public function getBaseGeneratorName()
529
    {