Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
ClassStoreOptions
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace Apie\Core\Attributes;
4
5use Apie\Core\Enums\DefaultColumnName;
6use Apie\Core\Enums\SortingOrder;
7use Attribute;
8
9/**
10 * This attribute is for finetuning the datalayer
11 */
12#[Attribute(Attribute::TARGET_CLASS)]
13class ClassStoreOptions
14{
15    public function __construct(
16        public readonly DefaultColumnName $defaultColumnName = DefaultColumnName::CreatedAt,
17        public readonly SortingOrder $defaultSortingOrder = SortingOrder::Descending,
18    ) {
19    }
20}