Completed
Push — develop ( c6f9f9...59e20d )
by Jens
09:32
created

CartCollection::getById()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * @author @jayS-de <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Model\Cart;
7
8
use Commercetools\Core\Model\Common\Collection;
9
10
/**
11
 * @package Commercetools\Core\Model\Cart
12
 * @link https://dev.commercetools.com/http-api-projects-carts.html#cart
13
 * @method Cart current()
14
 * @method CartCollection add(Cart $element)
15
 * @method Cart getAt($offset)
16
 */
17
class CartCollection extends Collection
18
{
19
    protected $type = '\Commercetools\Core\Model\Cart\Cart';
20
}
21