Code Duplication    Length = 27-27 lines in 4 locations

src/Factory/Cases/CasesDataTransformerFactory.php 1 location

@@ 16-42 (lines=27) @@
13
 * Class CasesDataTransformerFactory
14
 * @package OmnideskBundle\Factory\Cases
15
 */
16
class CasesDataTransformerFactory extends AbstractDataTransformerFactory
17
{
18
    /**
19
     * CasesService constructor.
20
     * @param AddCasesRequestDataTransformer   $addRequest
21
     * @param EditCasesRequestDataTransformer  $editRequest
22
     * @param ListCasesRequestDataTransformer  $listRequest
23
     * @param ViewCasesRequestDataTransformer  $viewRequest
24
     * @param ListCasesResponseDataTransformer $listResponse
25
     * @param ViewCasesResponseDataTransformer $viewResponse
26
     */
27
    public function __construct(
28
        AddCasesRequestDataTransformer $addRequest,
29
        EditCasesRequestDataTransformer $editRequest,
30
        ListCasesRequestDataTransformer $listRequest,
31
        ViewCasesRequestDataTransformer $viewRequest,
32
        ListCasesResponseDataTransformer $listResponse,
33
        ViewCasesResponseDataTransformer $viewResponse
34
    ) {
35
        $this->addRequest = $addRequest;
36
        $this->editRequest = $editRequest;
37
        $this->listRequest = $listRequest;
38
        $this->viewRequest = $viewRequest;
39
        $this->viewResponse = $viewResponse;
40
        $this->listResponse = $listResponse;
41
    }
42
}
43

src/Factory/Group/GroupDataTransformerFactory.php 1 location

@@ 16-42 (lines=27) @@
13
 * Class GroupDataTransformerFactory
14
 * @package OmnideskBundle\Factory\Group
15
 */
16
class GroupDataTransformerFactory extends AbstractDataTransformerFactory
17
{
18
    /**
19
     * GroupDataTransformerFactory constructor.
20
     * @param AddGroupRequestDataTransformer   $addRequest
21
     * @param EditGroupRequestDataTransformer  $editRequest
22
     * @param ListGroupRequestDataTransformer  $listRequest
23
     * @param ViewGroupRequestDataTransformer  $viewRequest
24
     * @param ListGroupResponseDataTransformer $listResponse
25
     * @param ViewGroupResponseDataTransformer $viewResponse
26
     */
27
    public function __construct(
28
        AddGroupRequestDataTransformer $addRequest,
29
        EditGroupRequestDataTransformer $editRequest,
30
        ListGroupRequestDataTransformer $listRequest,
31
        ViewGroupRequestDataTransformer $viewRequest,
32
        ListGroupResponseDataTransformer $listResponse,
33
        ViewGroupResponseDataTransformer $viewResponse
34
    ) {
35
        $this->addRequest = $addRequest;
36
        $this->editRequest = $editRequest;
37
        $this->listRequest = $listRequest;
38
        $this->viewRequest = $viewRequest;
39
        $this->viewResponse = $viewResponse;
40
        $this->listResponse = $listResponse;
41
    }
42
}
43

src/Factory/Staff/StaffDataTransformerFactory.php 1 location

@@ 16-42 (lines=27) @@
13
 * Class StaffDataTransformerFactory
14
 * @package OmnideskBundle\Factory\Staff
15
 */
16
class StaffDataTransformerFactory extends AbstractDataTransformerFactory
17
{
18
    /**
19
     * StaffService constructor.
20
     * @param AddStaffRequestDataTransformer   $addRequest
21
     * @param EditStaffRequestDataTransformer  $editRequest
22
     * @param ListStaffRequestDataTransformer  $listRequest
23
     * @param ViewStaffRequestDataTransformer  $viewRequest
24
     * @param ListStaffResponseDataTransformer $listResponse
25
     * @param ViewStaffResponseDataTransformer $viewResponse
26
     */
27
    public function __construct(
28
        AddStaffRequestDataTransformer $addRequest,
29
        EditStaffRequestDataTransformer $editRequest,
30
        ListStaffRequestDataTransformer $listRequest,
31
        ViewStaffRequestDataTransformer $viewRequest,
32
        ListStaffResponseDataTransformer $listResponse,
33
        ViewStaffResponseDataTransformer $viewResponse
34
    ) {
35
        $this->addRequest = $addRequest;
36
        $this->editRequest = $editRequest;
37
        $this->listRequest = $listRequest;
38
        $this->viewRequest = $viewRequest;
39
        $this->viewResponse = $viewResponse;
40
        $this->listResponse = $listResponse;
41
    }
42
}
43

src/Factory/User/UserDataTransformerFactory.php 1 location

@@ 16-42 (lines=27) @@
13
 * Class UserDataTransformerFactory
14
 * @package OmnideskBundle\Factory\User
15
 */
16
class UserDataTransformerFactory extends AbstractDataTransformerFactory
17
{
18
    /**
19
     * UserService constructor.
20
     * @param AddUserRequestDataTransformer   $addRequest
21
     * @param EditUserRequestDataTransformer  $editRequest
22
     * @param ListUserRequestDataTransformer  $listRequest
23
     * @param ViewUserRequestDataTransformer  $viewRequest
24
     * @param ListUserResponseDataTransformer $listResponse
25
     * @param ViewUserResponseDataTransformer $viewResponse
26
     */
27
    public function __construct(
28
        AddUserRequestDataTransformer $addRequest,
29
        EditUserRequestDataTransformer $editRequest,
30
        ListUserRequestDataTransformer $listRequest,
31
        ViewUserRequestDataTransformer $viewRequest,
32
        ListUserResponseDataTransformer $listResponse,
33
        ViewUserResponseDataTransformer $viewResponse
34
    ) {
35
        $this->addRequest = $addRequest;
36
        $this->editRequest = $editRequest;
37
        $this->listRequest = $listRequest;
38
        $this->viewRequest = $viewRequest;
39
        $this->viewResponse = $viewResponse;
40
        $this->listResponse = $listResponse;
41
    }
42
}
43