Completed
Push — master ( d1ecb8...6399e4 )
by Julien
03:46 queued 23s
created

Cart   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A add() 0 3 1
A removeItem() 0 3 1
A clear() 0 4 1
A getAll() 0 3 1
1
<?php
2
3
namespace App\Http\Cart;
4
5
6
class Cart{
7
8
9
    public function __construct(){
10
    }
11
12
13
14
    public function add(){
15
16
    }
17
18
    public function removeItem(){
19
20
    }
21
22
23
    public function clear()
24
    {
25
26
    }
27
28
    public function getAll(){
29
30
    }
31
32
33
34
}
35
36