AfterAnnotation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 8
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
1
<?php
2
3
/**
4
 * AfterAnnotation.php
5
 *
6
 * Jaxon annotation for server side callbacks.
7
 *
8
 * @package jaxon-annotations
9
 * @author Thierry Feuzeu <[email protected]>
10
 * @copyright 2022 Thierry Feuzeu <[email protected]>
11
 * @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
12
 * @link https://github.com/jaxon-php/jaxon-annotations
13
 */
14
15
namespace Jaxon\Annotations\Annotation;
16
17
/**
18
 * Specifies a method to be called after the one targeted by a Jaxon request.
19
 *
20
 * @usage('class' => true, 'method'=>true, 'multiple'=>true, 'inherited'=>true)
21
 */
22
class AfterAnnotation extends HookAnnotation
23
{
24
    /**
25
     * @inheritDoc
26
     */
27
    protected static function getType(): string
28
    {
29
        return 'after';
30
    }
31
}
32