<?php
namespace Claromentis\Core\Component\ValueType;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] ?: array()) + array();




class TypeBool implements ValueType
{
    public function Serialize($value)
    {
        return $value ? 1 : 0;
    }
    public function Unserialize($_d957779c7daa148ba3e831d162d15722)
    {
        return (bool) $_d957779c7daa148ba3e831d162d15722;
    }
    public function Normalize($value)
    {
        if ($value === null) {
            return null;
        }
        return (bool) $value;
    }
    public function Modify($_fd536f3a4b49ad5514a4e7a5db1c6248, $_33e21c745c95d91261fc8f7b4b930af0)
    {
        return $this->Normalize($_33e21c745c95d91261fc8f7b4b930af0);
    }
}