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
StoreOptions
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 Attribute;
6
7/**
8 * This attribute is for finetuning the generated database schema.
9 *
10 * - mutableListField: stores/restores mutability state of a list.
11 * - alwaysMixedData: if true, the data is always stored in the special mixed data table.
12 */
13#[Attribute(Attribute::TARGET_PROPERTY)]
14class StoreOptions
15{
16    public function __construct(
17        public readonly bool $mutableListField = false,
18        public readonly bool $alwaysMixedData = false,
19    ) {
20    }
21}