20250330#6

This commit is contained in:
User
2025-03-30 20:19:12 +03:00
parent e6fd18fa2f
commit 09e8520ded
3 changed files with 13 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ use Attribute;
class ValueObject {
public function __construct(
public bool $autoPropertyName = true,
public bool $autoPropertyName = false,
public ?string $propertyName = null,
) {}

View File

@@ -5,4 +5,4 @@ namespace Rmphp\Storage\Attribute;
use Attribute;
#[Attribute(Attribute::TARGET_CLASS)]
class ValueObjectWithoutAutoPropertyName {}
class ValueObjectAutoPropertyName {}