ClassExcluded::withBags()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 1
b 0
f 0
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