Test Failed
Branch master (4153a4)
by Divine Niiquaye
13:02
created

RouteWithPrefixController::actionTwo()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 2
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Flight Routing.
7
 *
8
 * PHP version 7.4 and above required
9
 *
10
 * @author    Divine Niiquaye Ibok <[email protected]>
11
 * @copyright 2019 Biurad Group (https://biurad.com/)
12
 * @license   https://opensource.org/licenses/BSD-3-Clause License
13
 *
14
 * For the full copyright and license information, please view the LICENSE
15
 * file that was distributed with this source code.
16
 */
17
18
namespace Flight\Routing\Tests\Fixtures\Annotation\Route\Valid;
19
20
use Flight\Routing\Annotation\Route;
21
22
/**
23
 * @Route("/prefix", name="do.", hosts="biurad.com")
24
 */
25
class RouteWithPrefixController
26
{
27
    /**
28
     * @Route("/path", methods={"GET", "POST"}, name="action")
29
     */
30
    public function action(): void
31
    {
32
    }
33
34
    /**
35
     * @Route("/path_two", methods={"GET", "POST"}, name="action_two")
36
     */
37
    public function actionTwo(): void
38
    {
39
    }
40
}
41