Completed
Push — master ( e8ecc6...4bc2d8 )
by Faiz
02:14
created

SQLRepository   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 5
Bugs 1 Features 3
Metric Value
wmc 6
c 5
b 1
f 3
lcom 0
cbo 0
dl 0
loc 34
ccs 0
cts 19
cp 0
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setConfig() 0 4 1
A initialize() 0 4 1
A surah() 0 4 1
A ayah() 0 4 1
A translations() 0 4 1
A addTranslation() 0 4 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
    public function addTranslation($translation)
37
    {
38
        // TODO: Implement addTranslation() method.
39
    }
40
}
41