- Added some new method to EntityCollection (replaceWith, mergeWith, randomize, sort)
- WIP on virtual fields - Some minor bugfixes
This commit is contained in:
1 parent
c8397484e6
commit
30a0a80cbe
9 files changed
+213
-47
No files matched your search
@@ -7,15 +7,13 @@ class Field implements \Ulmus\Annotation\Annotation {
|
||||
public string $type;
|
||||
|
||||
public string $name;
|
||||
|
||||
# public string $column;
|
||||
|
||||
|
||||
public int $length;
|
||||
|
||||
public array $attributes = [];
|
||||
|
||||
public bool $nullable = false;
|
||||
|
||||
|
||||
public function __construct(? string $type = null, ? int $length = null)
|
||||
{
|
||||
if ( $type !== null ) {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Annotation\Property;
|
||||
|
||||
class Virtual extends Field {
|
||||
public Closure $closure;
|
||||
}
|
||||
Reference in new issue
Block a user