SQLRepository   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 3
dl 0
loc 26
ccs 0
cts 15
cp 0
rs 10
c 2
b 0
f 1
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 2 1
A surah() 0 2 1
A translations() 0 2 1
A ayah() 0 2 1
A setConfig() 0 3 1
1
<?php
2
3
namespace FaizShukri\Quran\Repositories\Source;
4
5
use FaizShukri\Quran\Supports\Config;
6
7
class SQLRepository implements SourceInterface
8
{
9
    private $config;
10
11
    public function setConfig(Config $config)
12
    {
13
        $this->config = $config;
14
    }
15
16
    public function initialize()
17
    {
18
        // TODO: Implement initialize() method.
19
    }
20
21
    public function surah($surah = null)
22
    {
23
        // TODO: Implement chapter() method.
24
    }
25
26
    public function ayah($surah, $ayah, $translation = 'ar')
27
    {
28
        // TODO: Implement ayah() method.
29
    }
30
31
    public function translations()
32
    {
33
        // TODO: Implement translation() method.
34
    }
35
}
36