Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ColumnPriority | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | namespace Apie\Core\Attributes; |
| 3 | |
| 4 | use Attribute; |
| 5 | |
| 6 | /** |
| 7 | * Used to indicate a column priority so the order of the columns can be indicated. |
| 8 | * |
| 9 | * @TODO: use column priority in cms overview |
| 10 | */ |
| 11 | #[Attribute(Attribute::TARGET_CLASS|Attribute::TARGET_METHOD|Attribute::TARGET_PROPERTY|Attribute::TARGET_PARAMETER)] |
| 12 | final class ColumnPriority |
| 13 | { |
| 14 | public int $priority; |
| 15 | |
| 16 | public function __construct(int $priority) |
| 17 | { |
| 18 | $this->priority = $priority; |
| 19 | } |
| 20 | } |