- WIP on attributes

This commit is contained in:
Dave Mc Nicoll committed 2023-01-26 18:47:53 +00:00
1 parent e6d0279c1a
commit 70021d829d
13 files changed
+174 -36

No files matched your search

@@ -0,0 +1,18 @@
<?php
namespace Ulmus\Attribute\Property\Field;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class Mediumint extends \Ulmus\Attribute\Property\Field
{
public function __construct(
public ? string $name = null,
public ? string $type = "mediumint",
public ? int $length = null,
public ? int $precision = null,
public array $attributes = [],
public bool $nullable = false,
public mixed $default = null,
public bool $readonly = false,
) {}
}