Completed
Push — master ( 2da7a8...7e6b77 )
by Faiz
01:55
created

SQLRepository   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 3
Bugs 0 Features 2
Metric Value
wmc 4
c 3
b 0
f 2
lcom 0
cbo 0
dl 0
loc 23
rs 10

4 Methods

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