Completed
Push — master ( 260e13...281c81 )
by Sebastian
03:58
created

DeleteRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMethod() 0 4 1
1
<?php
2
namespace Kartenmacherei\RestFramework\Request;
3
4
use Kartenmacherei\RestFramework\Request\Method\DeleteRequestMethod;
5
use Kartenmacherei\RestFramework\Request\Method\RequestMethod;
6
7
class DeleteRequest extends GetRequest
8
{
9
    /**
10
     * @return RequestMethod
11
     */
12
    public function getMethod(): RequestMethod
13
    {
14
        return new DeleteRequestMethod();
15
    }
16
}
17