value = $value; } /** * Get the value. * * @since 0.8 * @return mixed */ public function get_value() { return $this->value; } /** * Check if the simple value is equal to the other one. * * @since 0.8 * @param mixed $other * @return bool */ public function is_equal_to($other) { return $other instanceof self && $this->get_value() == $other->get_value(); } /** * Get the string representation of the value. * * @since 0.8 * @return string */ public function __toString() { return strval($this->value); } }