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

Snidel_DataRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
rs 10
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