Block
Read onlyYes
FinalYes
Properties
- $id : string
- $size : int|null
- $state : BlockState
Methods
- __construct() : mixed
- commited() : self
- latest() : self
- uncommited() : self
Properties
$id
public
string
$id
$size
public
int|null
$size
= null
$state
public
BlockState
$state
Methods
__construct()
public
__construct(string $id, BlockState $state[, int|null $size = null ]) : mixed
Parameters
- $id : string
- $state : BlockState
- $size : int|null = null
commited()
public
static commited(string $id) : self
Parameters
- $id : string
Return values
selflatest()
public
static latest(string $id) : self
Parameters
- $id : string
Return values
selfuncommited()
public
static uncommited(string $id) : self
Parameters
- $id : string