Passed
Push — master ( b86120...81b032 )
by Gerhard
12:08
created

AbstractEndpointTypeExtension::handleRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 4
dl 0
loc 2
ccs 0
cts 1
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Enhavo\Bundle\ApiBundle\Endpoint;
4
5
use Enhavo\Bundle\ApiBundle\Documentation\Model\Path;
6
use Enhavo\Component\Type\AbstractTypeExtension;
7
use Symfony\Component\HttpFoundation\Request;
8
use Symfony\Contracts\Service\ServiceSubscriberInterface;
9
10
abstract class AbstractEndpointTypeExtension extends AbstractTypeExtension implements EndpointTypeExtensionInterface, ServiceSubscriberInterface
11
{
12
    use EndpointTrait;
0 ignored issues
show
Bug introduced by
The trait Enhavo\Bundle\ApiBundle\Endpoint\EndpointTrait requires the property $attributes which is not provided by Enhavo\Bundle\ApiBundle\...ctEndpointTypeExtension.
Loading history...
13
14
    public function handleRequest($options, Request $request, Data $data, Context $context)
15
    {
16
17
    }
18
19
    public function describe($options, Path $path)
20
    {
21
22
    }
23
}
24