Code Duplication    Length = 13-13 lines in 2 locations

Doctrine/AbstractProvider.php 1 location

@@ 137-149 (lines=13) @@
134
    /**
135
     * {@inheritdoc}
136
     */
137
    protected function configureOptions()
138
    {
139
        parent::configureOptions();
140
141
        $this->resolver->setDefaults([
142
            'clear_object_manager' => true,
143
            'debug_logging' => false,
144
            'ignore_errors' => false,
145
            'offset' => 0,
146
            'query_builder_method' => 'createQueryBuilder',
147
            'sleep' => 0,
148
        ]);
149
    }
150
151
    /**
152
     * If this Provider has a SliceFetcher defined, we use it instead of falling back to

Propel/Provider.php 1 location

@@ 70-82 (lines=13) @@
67
    /**
68
     * {@inheritdoc}
69
     */
70
    protected function configureOptions()
71
    {
72
        parent::configureOptions();
73
74
        $this->resolver->setDefaults([
75
            'clear_object_manager' => true,
76
            'debug_logging' => false,
77
            'ignore_errors' => false,
78
            'offset' => 0,
79
            'query_builder_method' => 'createQueryBuilder',
80
            'sleep' => 0,
81
        ]);
82
    }
83
}
84