denpamusic/php-levin

View on GitHub
src/Types/Uint8.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

declare(strict_types=1);

namespace Denpa\Levin\Types;

class Uint8 extends Type implements BoostSerializable
{
    /**
     * @return string
     */
    protected function getTypeCode(): string
    {
        return 'C';
    }

    /**
     * @return \Denpa\Levin\Types\Uint8
     */
    public function getSerializeType(): self
    {
        return new self(self::SERIALIZE_TYPE_UINT8);
    }
}