Code Duplication    Length = 10-10 lines in 2 locations

code/model/SilverstripeColumnsPageExtension.php 2 locations

@@ 156-165 (lines=10) @@
153
     *
154
     * @return string (HTML)
155
     */
156
    function getFullWidthContent()
157
    {
158
        if($this->owner->hasMethod('FullWidthContentOverloaded')) {
159
            $v = $this->owner->FullWidthContentOverloaded();
160
            if($v !== null) {
161
                return $v;
162
            }
163
        }
164
        return $this->owner->renderWith('FullWidthContent');
165
    }
166
167
    /**
168
     *
@@ 171-180 (lines=10) @@
168
     *
169
     * @return string (HTML)
170
     */
171
    function getSummaryContent()
172
    {
173
        if($this->owner->hasMethod('SummaryContentOverloaded')) {
174
            $v = $this->owner->SummaryContentOverloaded();
175
            if($v !== null) {
176
                return $v;
177
            }
178
        }
179
        return $this->owner->renderWith('SummaryContent');
180
    }
181
182
    private static $_children_show_in_menu = [];
183