Code Duplication    Length = 13-13 lines in 2 locations

Doctrine/AbstractProvider.php 1 location

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

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