Code Duplication    Length = 8-8 lines in 2 locations

services/NorthWind/NorthWindDataService.php 1 location

@@ 28-35 (lines=8) @@
25
     * 
26
     * @return void
27
     */
28
    public function initialize(ServiceConfiguration $config)
29
    {
30
        $config->setEntitySetPageSize('*', 5);
31
        $config->setEntitySetAccessRule('*', EntitySetRights::ALL);
32
        $config->setAcceptCountRequests(true);
33
        $config->setAcceptProjectionRequests(true);
34
        $config->setMaxDataServiceVersion(ProtocolVersion::V3());
35
    }
36
37
    /**
38
     * Get the service like IMetadataProvider, IDataServiceQueryProvider,

services/WordPress/WordPressDataService.php 1 location

@@ 34-41 (lines=8) @@
31
     * 
32
     * @return void
33
     */
34
    public function initialize(ServiceConfiguration $config)
35
    {
36
        $config->setEntitySetPageSize('*', 5);
37
        $config->setEntitySetAccessRule('*', EntitySetRights::ALL);
38
        $config->setAcceptCountRequests(true);
39
        $config->setAcceptProjectionRequests(true);
40
        $config->setMaxDataServiceVersion(ProtocolVersion::V3());
41
    }
42
43
    /**
44
     * Get the service like IMetadataProvider, IDataServiceQueryProvider,