Flow PHP

Uuid implements Stringable

Read onlyYes
FinalYes

Interfaces

Stringable

Constants

UUID_REGEXP  = '/\A[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\z/ms'
This regexp is a port of the Uuid library, which is copyright Ben Ramsey, @see https://github.com/ramsey/uuid.

Methods

__construct()  : mixed
__toString()  : string
fromString()  : self
isEqual()  : bool
toString()  : string

Constants

UUID_REGEXP

This regexp is a port of the Uuid library, which is copyright Ben Ramsey, @see https://github.com/ramsey/uuid.

public mixed UUID_REGEXP = '/\A[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\z/ms'

Methods

__toString()

public __toString() : string
Return values
string

fromString()

public static fromString(string $value) : self
Parameters
$value : string
Return values
self

isEqual()

public isEqual(self $type) : bool
Parameters
$type : self
Return values
bool

toString()

public toString() : string
Return values
string

        
On this page

Search results