interface UuidBuilderInterface
A UUID builder builds instances of UuidInterface
@psalm-immutable
Hierarchy
- interface \Ramsey\Uuid\Builder\UuidBuilderInterface
Expanded class hierarchy of UuidBuilderInterface
All classes that implement UuidBuilderInterface
6 files declare their use of UuidBuilderInterface
- FeatureSet.php in vendor/
ramsey/ uuid/ src/ FeatureSet.php - GuidBuilder.php in vendor/
ramsey/ uuid/ src/ Guid/ GuidBuilder.php - StringCodec.php in vendor/
ramsey/ uuid/ src/ Codec/ StringCodec.php - UuidBuilder.php in vendor/
ramsey/ uuid/ src/ Nonstandard/ UuidBuilder.php - UuidBuilder.php in vendor/
ramsey/ uuid/ src/ Rfc4122/ UuidBuilder.php
File
-
vendor/
ramsey/ uuid/ src/ Builder/ UuidBuilderInterface.php, line 25
Namespace
Ramsey\Uuid\BuilderView source
interface UuidBuilderInterface {
/**
* Builds and returns a UuidInterface
*
* @param CodecInterface $codec The codec to use for building this UuidInterface instance
* @param string $bytes The byte string from which to construct a UUID
*
* @return UuidInterface Implementations may choose to return more specific
* instances of UUIDs that implement UuidInterface
*
* @psalm-pure
*/
public function build(CodecInterface $codec, string $bytes) : UuidInterface;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
UuidBuilderInterface::build | public | function | Builds and returns a UuidInterface | 5 |