Completed
Push — master ( e68c06...8ce3f9 )
by Adolfo
14s queued 11s
created

Group   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 26
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getCode() 0 4 1
A plans() 0 4 1
A addPlan() 0 4 1
A getDefaultPlan() 0 4 1
1
<?php
2
3
namespace Sagitarius29\LaravelSubscriptions\Entities;
4
5
use Sagitarius29\LaravelSubscriptions\Contracts\PlanContract;
6
use Sagitarius29\LaravelSubscriptions\Contracts\GroupContract;
7
8
class Group implements GroupContract
9
{
10
    public function __construct($code = null)
11
    {
12
    }
13
14
    public function getCode(): string
15
    {
16
        // TODO: Implement getCode() method.
17
    }
18
19
    public function plans()
20
    {
21
        // TODO: Implement plans() method.
22
    }
23
24
    public function addPlan(PlanContract $plan): void
25
    {
26
        // TODO: Implement addPlan() method.
27
    }
28
29
    public function getDefaultPlan(): PlanContract
30
    {
31
        // TODO: Implement getDefaultPlan() method.
32
    }
33
}
34