Code Duplication    Length = 13-13 lines in 2 locations

Propel/Provider.php 1 location

@@ 61-73 (lines=13) @@
58
    /**
59
     * {@inheritDoc}
60
     */
61
    protected function configureOptions()
62
    {
63
        parent::configureOptions();
64
65
        $this->resolver->setDefaults(array(
66
            'clear_object_manager' => true,
67
            'debug_logging'        => false,
68
            'ignore_errors'        => false,
69
            'offset'               => 0,
70
            'query_builder_method' => 'createQueryBuilder',
71
            'sleep'                => 0
72
        ));
73
    }
74
}
75

Doctrine/AbstractProvider.php 1 location

@@ 129-141 (lines=13) @@
126
    /**
127
     * {@inheritDoc}
128
     */
129
    protected function configureOptions()
130
    {
131
        parent::configureOptions();
132
133
        $this->resolver->setDefaults(array(
134
            'clear_object_manager' => true,
135
            'debug_logging'        => false,
136
            'ignore_errors'        => false,
137
            'offset'               => 0,
138
            'query_builder_method' => 'createQueryBuilder',
139
            'sleep'                => 0
140
        ));
141
    }
142
143
    /**
144
     * If this Provider has a SliceFetcher defined, we use it instead of falling back to