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

SQLRepository::addTranslation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 1
crap 2
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