Completed
Push — master ( 998e37...26b154 )
by Faiz
01:50
created

SQLRepository   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 2
Metric Value
wmc 5
c 2
b 0
f 2
lcom 0
cbo 0
dl 0
loc 30
rs 10

5 Methods

Rating   Name   Duplication   Size   Complexity  
A setConfig() 0 4 1
A initialize() 0 4 1
A chapters() 0 4 1
A chapter() 0 4 1
A ayah() 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
19
    }
20
21
    public function chapters()
22
    {
23
        // TODO: Implement chapters() method.
24
    }
25
26
    public function chapter($chapter)
27
    {
28
        // TODO: Implement chapter() method.
29
    }
30
31
    public function ayah($surah, $ayah, $translation = 'ar')
32
    {
33
        // TODO: Implement ayah() method.
34
    }
35
36
}