src/Types/Boolean.php
protected static function parse($value, \DateTimeZone $timezone = null)
    {
        if ($value === '0') {
            return false;
        } elseif ($value === '1') {
            return true;
        }
        return $value;
    }
protected static function parse($value, \DateTimeZone $timezone = null)
    {
        if ($value === '0') {
            return false;
        } elseif ($value === '1') {
            return true;
        }
        return $value;
    }
/ \copydoc fpoirotte::XRL::Types::AbstractType::parse()