Passed
Push — main ( 95098f...5a6d0d )
by Thierry
35:37 queued 24:37
created

AbstractAnnotation::setPrevValue()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * AbstractAnnotation.php
5
 *
6
 * Common functions for Jaxon annotations.
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
use Jaxon\App\Metadata\Metadata;
18
use mindplay\annotations\Annotation;
19
use mindplay\annotations\IAnnotationParser;
20
21
abstract class AbstractAnnotation extends Annotation implements IAnnotationParser
22
{
23
    /**
24
     * Save the annotation value
25
     *
26
     * @param Metadata $xMetadata
27
     * @param string $sMethod
28
     *
29
     * @return void
30
     */
31
    abstract public function saveValue(Metadata $xMetadata, string $sMethod = '*'): void;
32
}
33