library/SDIS62/Db/Type/UUID.php
public function convertToPhpValue($value, Doctrine\DBAL\Platforms\AbstractPlatform $platform)
    {
        if ($value !== null)
        {
            $value= unpack('H*', $value);
            $hash = array_shift($value);
            
            $uuid = substr($hash, 0, 8) . '-' . substr($hash, 8, 4) . '-' . substr($hash, 12, 4) .
                '-' . substr($hash, 16, 4) . '-' . substr($hash, 20, 12);
                Zend_Debug::Dump($uuid);
            return $uuid;
        }
    }
public function convertToPhpValue($value, Doctrine\DBAL\Platforms\AbstractPlatform $platform)
    {
        if ($value !== null)
        {
            $value= unpack('H*', $value);
            $hash = array_shift($value);
            
            $uuid = substr($hash, 0, 8) . '-' . substr($hash, 8, 4) . '-' . substr($hash, 12, 4) .
                '-' . substr($hash, 16, 4) . '-' . substr($hash, 20, 12);
                Zend_Debug::Dump($uuid);
            return $uuid;
        }
    }
{@inheritdoc}