- Merged getValue override

This commit is contained in:
Dave Mc Nicoll committed 2026-02-25 20:09:28 +00:00
1 parent b0b3aca6d9
commit fd5d31fa17
11 files changed
+183 -106

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
namespace Ulmus\Attribute\Obj;
#[\Attribute(\Attribute::TARGET_CLASS)]
class JsonSerialize {
public function __construct(
public bool $includeRelations = true,
) {}
}
+10
View File
@@ -0,0 +1,10 @@
<?php
namespace Ulmus\Attribute\Property;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class JsonSerialize {
public function __construct(
public bool $ignoreField = false,
) {}
}
+1 -1
View File
@@ -5,6 +5,6 @@ namespace Ulmus\Attribute\Property;
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::IS_REPEATABLE)]
class WithJoin {
public function __construct(
public array $joins = []
public string|array $joins = []
) {}
}