Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
ProvideIndex | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | namespace Apie\Core\Attributes; |
3 | |
4 | use Attribute; |
5 | |
6 | /** |
7 | * Add this attribute to tell Apie how to index this entity. |
8 | */ |
9 | #[Attribute(Attribute::TARGET_CLASS)] |
10 | final class ProvideIndex |
11 | { |
12 | public function __construct(public string $methodName) |
13 | { |
14 | } |
15 | } |