Neue Services und Klassen hinzugefügt: Projekt-Entitäten, Repository und Konfigurationsverwaltung
This commit is contained in:
21
src/Attributes/Mapping/DataFromArray.php
Normal file
21
src/Attributes/Mapping/DataFromArray.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
* DataFromArray.php 2026-03-16 thomas
|
||||
*
|
||||
* Copyright (c) 2026 Thomas Schneider <thomas@inter-mundos.de>
|
||||
* Alle Rechte vorbehalten.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Attributes\Mapping;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(Attribute::TARGET_PROPERTY)]
|
||||
final readonly class DataFromArray
|
||||
{
|
||||
public function __construct(
|
||||
public string|null $key,
|
||||
){}
|
||||
}
|
||||
Reference in New Issue
Block a user