- Added description to most attributes
This commit is contained in:
1 parent
e37eeb85f1
commit
2de3139c80
32 files changed
+48
-8
No files matched your search
@@ -5,8 +5,13 @@ namespace Ulmus\Attribute\Property\Field;
|
||||
#[\Attribute(\Attribute::TARGET_PROPERTY)]
|
||||
class Time extends \Ulmus\Attribute\Property\Field
|
||||
{
|
||||
public function __construct(? string $type = "time", ? int $length = null)
|
||||
{
|
||||
parent::__construct($type, $length);
|
||||
}
|
||||
public function __construct(
|
||||
public ? string $name = null,
|
||||
public ? string $type = "time",
|
||||
public array $attributes = [],
|
||||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public string $description = "",
|
||||
) {}
|
||||
}
|
||||
Reference in new issue
Block a user