class Bool extends AbstractField (View source)

deprecated This class will be removed in ODM 2.0. Use `@ODM\Field(type="bool")` instead.

Properties

$name from AbstractField
$type
$nullable from AbstractField
$options from AbstractField
$strategy from AbstractField

Methods

string
getDeprecationMessage()

Gets deprecation message. The method WILL be removed in 2.0.

bool
isDeprecated()

Gets whether the annotation is deprecated. The method WILL be removed in 2.0.

Details

string getDeprecationMessage()

Gets deprecation message. The method WILL be removed in 2.0.

Return Value

string

bool isDeprecated()

Gets whether the annotation is deprecated. The method WILL be removed in 2.0.

Return Value

bool