jordanbrauer/unit-converter

View on GitHub
src/Unit/Pressure/Torr.php

Summary

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

declare(strict_types = 1);

/**
 * This file is part of the jordanbrauer/unit-converter PHP package.
 *
 * @copyright 2018 Jordan Brauer <18744334+jordanbrauer@users.noreply.github.com>
 * @license MIT
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace UnitConverter\Unit\Pressure;

/**
 * Torr unit data class.
 *
 * @version 1.0.0
 * @since 1.0.0
 * @author Jordan Brauer <18744334+jordanbrauer@users.noreply.github.com>
 */
class Torr extends PressureUnit
{
    protected function configure(): void
    {
        $this
            ->setName("torr")

            ->setSymbol("Torr")

            ->setScientificSymbol("Torr")

            ->setUnits(133.322);
    }
}