for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
/**
* Created by PhpStorm.
* User: root
* Date: 02.08.16
* Time: 0:46.
*/
namespace samsonframework\container\definition\reference;
* Class FloatReference
*
* @author Ruslan Molodyko <[email protected]>
class FloatReference implements ReferenceInterface
{
/** @var float Value of reference */
protected $value;
public function __construct(float $value)
$this->value = $value;
}
* @return float
public function getValue(): float
return $this->value;