Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| OverwriteAfterPersist | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\Attributes; |
| 3 | |
| 4 | use Attribute; |
| 5 | |
| 6 | /** |
| 7 | * Mark a resource to overwrite it after persisting. Normally we do not do this for performance reasons, |
| 8 | * but for example if we have an auto-incrementing id, we need to do this to get the id back in the object |
| 9 | * after persisting it. |
| 10 | */ |
| 11 | #[Attribute(Attribute::TARGET_CLASS)] |
| 12 | final class OverwriteAfterPersist |
| 13 | { |
| 14 | } |