Passed
Branch feature/babel (9a8402)
by John
03:52
created

Babel::judge()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace App\Babel;
3
4
use App\Babel\Submit\Submitter;
5
use App\Babel\Crawl\Crawler;
6
use App\Babel\Judge\Judger;
7
8
class Babel
9
{
10
11
    public function submit($conf)
12
    {
13
        return new Submitter($conf);
14
    }
15
16
    public function crawl($conf)
17
    {
18
        return new Crawler($conf);
19
    }
20
21
    public function judge()
22
    {
23
        return new Judger();
24
    }
25
26
}
27