gdbots/pbjc-php

View on GitHub
src/Type/MicrotimeType.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Gdbots\Pbjc\Type;

use Gdbots\Pbj\WellKnown\Microtime;

final class MicrotimeType extends AbstractType
{
    /**
     * {@inheritdoc}
     */
    public function getDefault()
    {
        return Microtime::create();
    }

    /**
     * {@inheritdoc}
     */
    public function isNumeric()
    {
        return true;
    }
}