Skip to content

API reference / Quittio \ Core \ Data \ References

ProjectReference

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\References\ProjectReference · Source

Project reference (BT-11). CII requires a name in addition to the identifier.

Properties#

PropertyTypeDescription
$id readonlystring
$name readonly?string

Methods#

MethodDescription
->__construct()
->with()Returns a copy with the given properties replaced.

__construct()#

public function __construct(string $id, ?string $name = null)
ParameterTypeDescription
$idstring
$name?string = null

with()#

public function with(array<string, mixed> $changes): static

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.