DoDomuDojade Documentation

AnnouncementId
in package

Read onlyYes
FinalYes

AnnouncementId ValueObject

Table of Contents

Properties

$id  : string

Methods

__construct()  : mixed
__toString()  : string
Stringifies id
generate()  : self
Generates a new id for an announcement
getValue()  : string
Returns id

Properties

Methods

__construct()

public __construct(string $id) : mixed
Parameters
$id : string

__toString()

Stringifies id

public __toString() : string
Return values
string

generate()

Generates a new id for an announcement

public static generate() : self
Return values
self

getValue()

Returns id

public getValue() : string
Return values
string

        
On this page

Search results