Lines Matching refs:value
17 private $value;
36 public function __construct($value)
38 $lastIndex = strrpos($value, "-");
41 $this->value = $value;
44 $breakpoint = substr($value, $lastIndex + 1);
47 $this->value = substr($value, 0, $lastIndex);
51 $parts = explode("-", $value);
62 $this->value = $value;
65 $this->value = implode("-", $valueFromParts);
66 LogUtility::warning("The breakpoint conditional value format ($value) will be deprecated in the next releases. It should be written ($this->value-$this->breakpoint)");
73 public static function createFrom($value): ConditionalValue
75 return new ConditionalValue($value);
84 throw new ExceptionBadArgument("$breakpoint is not a valid breakpoint value");
95 return $this->value;