GraphLoaderTrait::retrieveAll()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 3
crap 2
1
<?php
2
3
namespace Majora\Framework\Loader\Bridge\Graph;
4
5
use Majora\Framework\Loader\LoaderInterface;
6
7
/**
8
 * Trait to use into Graph loaders to get a simple implementation of LoaderInterface
9
 */
10
trait GraphLoaderTrait
11
{
12
    /**
13
     * @see LoaderInterface::retrieveAll()
14
     */
15
    public function retrieveAll(array $filters = array(), $limit = null, $offset = null)
0 ignored issues
show
Unused Code introduced by
The parameter $filters is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $limit is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $offset is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
16
    {
17
        throw new \BadMethodCallException(sprintf('Not yet implemented : %s::%s()', __CLASS__, __FUNCTION__));
18
    }
19
20
    /**
21
     * @see LoaderInterface::retrieveOne()
22
     */
23
    public function retrieveOne(array $filters = array())
0 ignored issues
show
Unused Code introduced by
The parameter $filters is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
24
    {
25
        throw new \BadMethodCallException(sprintf('Not yet implemented : %s::%s()', __CLASS__, __FUNCTION__));
26
    }
27
28
    /**
29
     * @see LoaderInterface::retrieve()
30
     */
31
    public function retrieve($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
32
    {
33
        throw new \BadMethodCallException(sprintf('Not yet implemented : %s::%s()', __CLASS__, __FUNCTION__));
34
    }
35
}
36