AbstractModel
in package
implements
IModel
AbstractYes
Table of Contents
Interfaces
- IModel
- Parent interface for all type models.
Properties
Methods
- __construct() : mixed
- getNotNullConstraint() : INotNullConstraint|null
- isNullable() : bool
- Shorter way to check whether the content can be null.
Properties
$notNullConstraint
private
INotNullConstraint|null
$notNullConstraint
Methods
__construct()
public
__construct([bool $isNullable = false ]) : mixed
Parameters
- $isNullable : bool = false
getNotNullConstraint()
public
getNotNullConstraint() : INotNullConstraint|null
Attributes
- #[Override]
Return values
INotNullConstraint|null —Whether the content is necessarily specified or can be left omitted.
isNullable()
Shorter way to check whether the content can be null.
public
isNullable() : bool
Attributes
- #[Override]