Solr4ServiceTest_RecordingService::_sendRawPost()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 2
b 0
f 0
nc 1
nop 4
dl 0
loc 3
rs 10
1
<?php
2
3
namespace SilverStripe\FullTextSearch\Tests\Solr4ServiceTest;
4
5
use SilverStripe\FullTextSearch\Solr\Services\Solr4Service_Core;
6
7
class Solr4ServiceTest_RecordingService extends Solr4Service_Core
8
{
9
    protected function _sendRawPost($url, $rawPost, $timeout = false, $contentType = 'text/xml; charset=UTF-8')
10
    {
11
        return $rawPost;
12
    }
13
    
14
    protected function _sendRawGet($url, $timeout = false)
15
    {
16
        return $url;
17
    }
18
}
19