Completed
Push — master ( 526d6e...2376dc )
by Akihito
03:04
created

DataRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 4 1
1
<?php
2
namespace Ackintosh\Snidel;
3
4
use Ackintosh\Snidel\Data;
5
6
class DataRepository
7
{
8
    /**
9
     * load data
10
     *
11
     * @param   int             $pid
12
     * @return  Snidel\Data
13
     */
14
    public function load($pid)
15
    {
16
        return new Data($pid);
17
    }
18
}
19