Completed
Pull Request — master (#584)
by Kévin
03:17
created

NullAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 6
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the API Platform project.
5
 *
6
 * (c) Kévin Dunglas <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace ApiPlatform\Core\Action;
13
14
/**
15
 * Empty action. Useful to trigger the kernel.view event without doing anything specific in the action
16
 * (e.g. the POST action).
17
 *
18
 * @author Kévin Dunglas <[email protected]>
19
 */
20
final class NullAction
21
{
22
    public function __invoke()
23
    {
24
    }
25
}
26