Doctrine\ODM\MongoDB\Mapping\Types\BooleanType::convertToPHPValue PHP Method

convertToPHPValue() public method

public convertToPHPValue ( $value )
    public function convertToPHPValue($value)
    {
        return $value !== null ? (boolean) $value : null;
    }