Register

class Register extends Model implements RegisterInterface

Properties summary

Type Property Description
protected $table
static protected $unguarded
int $id
Carbon $created_at
Carbon $update_at

Methods summary

Return Type Method Name Description
createTable($drop = false) -
getName() -
setName($name) -
getNamespaceId() -
setNamespaceId($id) -
getNamespace() -
setNamespace($key) -
setValue($value) -
getValue() -
Register[]|Collection latestByNamespaces(array $namespaces, null $id = null) -
sinceByNamespace(Carbon $since, array $namespaces, $id = null) -
bool write(string|int $value) -

Details

createTable ($drop = false)

Parameters

$drop

getName ()

setName ($name)

Parameters

$name

getNamespaceId ()

setNamespaceId ($id)

Parameters

$id

getNamespace ()

setNamespace ($key)

Parameters

$key

setValue ($value)

Parameters

$value

getValue ()

Register[]|Collection latestByNamespaces (array $namespaces, null $id = null)

Parameters

array $namespaces
null $id

Return Value

Register[]|Collection

sinceByNamespace (Carbon $since, array $namespaces, $id = null)

Parameters

Carbon $since
array $namespaces
$id

bool write (string|int $value)

Parameters

string|int $value

Return Value

bool