Asserters::listCollection()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the Cubiche package.
4
 *
5
 * Copyright (c) Cubiche
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Cubiche\Core\Collections\Tests\Asserters;
11
12
/**
13
 * Asserters trait.
14
 *
15
 * @author Karel Osorio Ramírez <[email protected]>
16
 */
17
trait Asserters
18
{
19
    /**
20
     * @return \Cubiche\Core\Collections\Tests\Asserters\CollectionAsserter
21
     */
22
    public function collection()
23
    {
24
        return static::__call(__FUNCTION__, func_get_args());
25
    }
26
27
    /**
28
     * @return \Cubiche\Core\Collections\Tests\Asserters\ListAsserter
29
     */
30
    public function listCollection()
31
    {
32
        return static::__call(__FUNCTION__, func_get_args());
33
    }
34
35
    /**
36
     * @return \Cubiche\Core\Collections\Tests\Asserters\SetAsserter
37
     */
38
    public function setCollection()
39
    {
40
        return static::__call(__FUNCTION__, func_get_args());
41
    }
42
43
    /**
44
     * @return \Cubiche\Core\Collections\Tests\Asserters\HashMapAsserter
45
     */
46
    public function hashmapCollection()
47
    {
48
        return static::__call(__FUNCTION__, func_get_args());
49
    }
50
51
    /**
52
     * @return \Cubiche\Core\Collections\Tests\Asserters\DataSourceAsserter
53
     */
54
    public function datasource()
55
    {
56
        return static::__call(__FUNCTION__, func_get_args());
57
    }
58
}
59