Test Failed
Push — master ( cb64a0...36f795 )
by Aleksei
07:38 queued 12s
created

Finalize::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 0
dl 0
loc 3
rs 10
c 1
b 0
f 1
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Spiral\Core\Attribute;
6
7
/**
8
 * Define a finalize method for the class.
9
 *
10
 * @internal We are testing this feature, it may be changed in the future.
11
 */
12
#[\Attribute(\Attribute::TARGET_CLASS)]
13
final class Finalize
14
{
15
    public function __construct(
16
        public string $method,
17
    ) {
18
    }
19
}
20