Documentation

Version extends Base
in package

Class Version.

Table of Contents

$id  : int
$revision  : string
$version  : string
getArrayCopy()  : array<string|int, mixed>
Gets the attributes of this entity.
getId()  : int
getRevision()  : string
getVersion()  : string
setEntityAttributes()  : $this
Sets the attributes of this entity.
setId()  : Base
setRevision()  : Version
setVersion()  : Version

Properties

$revision

protected string $revision

Methods

getArrayCopy()

Gets the attributes of this entity.

public getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getId()

public getId() : int
Return values
int

getRevision()

public getRevision() : string
Return values
string

getVersion()

public getVersion() : string
Return values
string

setEntityAttributes()

Sets the attributes of this entity.

public setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
$attributes : array<string|int, mixed>
Return values
$this

setId()

public setId(int $id) : Base
Parameters
$id : int
Return values
Base

setRevision()

public setRevision(string $revision) : Version
Parameters
$revision : string
Return values
Version

setVersion()

public setVersion(string $version) : Version
Parameters
$version : string
Return values
Version

Search results