Events   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 13
ccs 4
cts 4
cp 1
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A key() 0 3 1
A baseUrl() 0 3 1
1
<?php
2
3
namespace LaravelWorkcast\Endpoints;
4
5
class Events extends AbstractEndpoint implements HasRestFullRead
6
{
7
    use WithRestFullRead;
8
9
10 4
    public function baseUrl(): string
11
    {
12 4
        return $this->key();
13
    }
14
15 5
    public function key(): string
16
    {
17 5
        return 'events';
18
    }
19
}
20