File manager - Edit - /home/buyherba/worldcargocourier.com/webmail/vendor/phpdocumentor/type-resolver/src/PseudoTypes/FloatValue.php
Back
<?php /* * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @link http://phpdoc.org * */ declare(strict_types=1); namespace phpDocumentor\Reflection\PseudoTypes; use phpDocumentor\Reflection\PseudoType; use phpDocumentor\Reflection\Type; use phpDocumentor\Reflection\Types\Float_; /** @psalm-immutable */ class FloatValue implements PseudoType { /** @var float */ private $value; public function __construct(float $value) { $this->value = $value; } public function getValue(): float { return $this->value; } public function underlyingType(): Type { return new Float_(); } public function __toString(): string { return (string) $this->value; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.08 |
proxy
|
phpinfo
|
Settings