ClassExcluded   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
dl 0
loc 18
rs 10
c 1
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withBags() 0 4 1
A cbSingle() 0 4 1
A doNot() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Jaxon\Attributes\Tests\Attr\Ajax;
5
6
use Jaxon\Attributes\Attribute\After;
7
use Jaxon\Attributes\Attribute\Before;
8
use Jaxon\Attributes\Attribute\Databag;
9
use Jaxon\Attributes\Attribute\Exclude;
10
use Jaxon\Attributes\Tests\Attr\FuncComponent;
11
12
#[Exclude(true)]
13
class ClassExcluded extends FuncComponent
14
{
15
    #[Exclude]
16
    public function doNot()
17
    {
18
    }
19
20
    #[Databag(name: 'user.name')]
21
    #[Databag(name: 'page.number')]
22
    public function withBags()
23
    {
24
    }
25
26
    #[Before(call: 'funcBefore')]
27
    #[After(call: 'funcAfter')]
28
    public function cbSingle()
29
    {
30
    }
31
}
32