ListModel
extends AbstractModel
in package
FinalYes
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getItemModel() : IScalarModel
- getNotNullConstraint() : INotNullConstraint|null
- getRangeConstraint() : IRangeConstraint|null
- isNullable() : bool
- Shorter way to check whether the content can be null.
Properties
$itemModel
private
IScalarModel
$itemModel
$rangeConstraint
private
IRangeConstraint|null
$rangeConstraint
= null
Methods
__construct()
public
__construct(IScalarModel $itemModel[, IRangeConstraint|null $rangeConstraint = null ][, bool $isNullable = false ]) : mixed
Parameters
- $itemModel : IScalarModel
- $rangeConstraint : IRangeConstraint|null = null
- $isNullable : bool = false
getItemModel()
public
getItemModel() : IScalarModel
Return values
IScalarModelgetNotNullConstraint()
public
getNotNullConstraint() : INotNullConstraint|null
Attributes
- #[Override]
Return values
INotNullConstraint|null —Whether the content is necessarily specified or can be left omitted.
getRangeConstraint()
public
getRangeConstraint() : IRangeConstraint|null
Return values
IRangeConstraint|nullisNullable()
Shorter way to check whether the content can be null.
public
isNullable() : bool
Attributes
- #[Override]