IScalarModel
extends
IModel
in
Empty interface to easily check for a scalar type model.
A scalar model is a model for which the allowed values are of a PHP scalar type: int, string, null, float.
Table of Contents
Methods
- getNotNullConstraint() : INotNullConstraint|null
- isNullable() : bool
- Shorter way to check whether the content can be null.
Methods
getNotNullConstraint()
public
getNotNullConstraint() : INotNullConstraint|null
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