Documentation

IScalarModel extends IModel

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

isNullable()

Shorter way to check whether the content can be null.

public isNullable() : bool
Return values
bool
On this page

Search results