Completed
Pull Request — master (#1)
by Adolfo
02:13 queued 01:08
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
4
namespace Sagitarius29\LaravelSubscriptions\Entities;
5
6
7
use Sagitarius29\LaravelSubscriptions\Contracts\GroupContract;
8
use Sagitarius29\LaravelSubscriptions\Contracts\PlanContract;
9
10
class Group implements GroupContract
11
{
12
    public function __construct($code = null)
13
    {
14
    }
15
16
    public function getCode(): string
17
    {
18
        // TODO: Implement getCode() method.
19
    }
20
21
    public function plans()
22
    {
23
        // TODO: Implement plans() method.
24
    }
25
26
    public function addPlan(PlanContract $plan): void
27
    {
28
        // TODO: Implement addPlan() method.
29
    }
30
31
    public function getDefaultPlan(): PlanContract
32
    {
33
        // TODO: Implement getDefaultPlan() method.
34
    }
35
}
36