for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the overtrue/laravel-revaluation.
*
* (c) overtrue <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Overtrue\LaravelRevaluation\Valuators;
use Overtrue\LaravelRevaluation\Revaluable;
/**
* Class Valuator.
class Valuator implements Revaluable
{
protected $value;
public function __construct($value)
$this->value = $value;
}
public function jsonSerialize()
return $this->toDefaultFormat();
public function getRaw()
return $this->value;
public function toDefaultFormat()
public function __toString()
public static function toStorableValue($value)
return $value;