- WIP on notes 2.x

This commit is contained in:
mcndave committed 2024-05-28 08:59:12 -04:00
1 parent 2de3139c80
commit f3be11a590
42 files changed
+270 -820

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ namespace Ulmus\Attribute\Property;
use Ulmus\Attribute\Attribute;
#[\Attribute]
class Join {
class Join implements ResettablePropertyInterface {
public function __construct(
public string $type,
public null|string|\Stringable|array $key = null,
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Ulmus\Attribute\Property;
use Ulmus\Attribute\Attribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class Relation {
class Relation implements ResettablePropertyInterface {
public function __construct(
public Relation\RelationTypeEnum|string $type,
public \Stringable|string|array $key = "",
@@ -0,0 +1,8 @@
<?php
namespace Ulmus\Attribute\Property;
interface ResettablePropertyInterface
{
}
+1 -1
View File
@@ -3,7 +3,7 @@
namespace Ulmus\Attribute\Property;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class Virtual extends Field {
class Virtual extends Field implements ResettablePropertyInterface {
public bool $readonly = true;