Code Duplication    Length = 23-25 lines in 3 locations

src/Graviton/CoreBundle/Controller/VersionController.php 1 location

@@ 45-69 (lines=25) @@
42
     * @param SchemaUtils        $schemaUtils schema utils
43
     * @param CoreUtils          $coreUtils   coreUtils
44
     */
45
    public function __construct(
46
        Response $response,
47
        RestUtilsInterface $restUtils,
48
        Router $router,
49
        ValidatorInterface $validator,
50
        EngineInterface $templating,
51
        FormFactory $formFactory,
52
        DocumentType $formType,
53
        ContainerInterface $container,
54
        SchemaUtils $schemaUtils,
55
        CoreUtils $coreUtils
56
    ) {
57
        parent::__construct(
58
            $response,
59
            $restUtils,
60
            $router,
61
            $validator,
62
            $templating,
63
            $formFactory,
64
            $formType,
65
            $container,
66
            $schemaUtils
67
        );
68
        $this->coreUtils = $coreUtils;
69
    }
70
71
    /**
72
     * Returns all version numbers

src/Graviton/FileBundle/Controller/FileController.php 1 location

@@ 46-70 (lines=25) @@
43
     * @param SchemaUtils        $schemaUtils schema utils
44
     * @param FileManager        $fileManager Handles file specific tasks
45
     */
46
    public function __construct(
47
        Response $response,
48
        RestUtilsInterface $restUtils,
49
        Router $router,
50
        ValidatorInterface $validator,
51
        EngineInterface $templating,
52
        FormFactory $formFactory,
53
        DocumentType $formType,
54
        ContainerInterface $container,
55
        SchemaUtils $schemaUtils,
56
        FileManager $fileManager
57
    ) {
58
        parent::__construct(
59
            $response,
60
            $restUtils,
61
            $router,
62
            $validator,
63
            $templating,
64
            $formFactory,
65
            $formType,
66
            $container,
67
            $schemaUtils
68
        );
69
        $this->fileManager = $fileManager;
70
    }
71
72
    /**
73
     * Writes a new Entry to the database

src/Graviton/SecurityBundle/Controller/WhoAmIController.php 1 location

@@ 39-61 (lines=23) @@
36
     * @param ContainerInterface $container   Container
37
     * @param SchemaUtils        $schemaUtils schema utils
38
     */
39
    public function __construct(
40
        Response $response,
41
        RestUtilsInterface $restUtils,
42
        Router $router,
43
        ValidatorInterface $validator,
44
        EngineInterface $templating,
45
        FormFactory $formFactory,
46
        DocumentType $formType,
47
        ContainerInterface $container,
48
        SchemaUtils $schemaUtils
49
    ) {
50
        parent::__construct(
51
            $response,
52
            $restUtils,
53
            $router,
54
            $validator,
55
            $templating,
56
            $formFactory,
57
            $formType,
58
            $container,
59
            $schemaUtils
60
        );
61
    }
62
63
    /**
64
     * Currently authenticated user information.