-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8f000e
commit 63a6c4a
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Windwalker\ORM\Attributes; | ||
|
||
use Ramsey\Uuid\UuidInterface; | ||
use Windwalker\Cache\Exception\LogicException; | ||
use Windwalker\ORM\Cast\CastInterface; | ||
use Windwalker\Query\Wrapper\UuidBinWrapper; | ||
use Windwalker\Query\Wrapper\UuidWrapper; | ||
|
||
/** | ||
* The UUID class. | ||
*/ | ||
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::IS_REPEATABLE)] | ||
class UUIDBinNullable extends UUIDBin | ||
{ | ||
public function __construct(string $version = 'uuid7', mixed $caster = null, int $options = self::NULLABLE) | ||
{ | ||
parent::__construct($version, $caster, $options); | ||
} | ||
} |