value = $value; } /** * Builds and returns an instance of the builder built on the specified value. * * @param mixed $value The value the instance of the builder should be built for. * * @return ValueBuilder An instance of the builder built on the specified value. */ public static function of($value) { return $value instanceof self ? $value : new self($value); } /** * Returns the value wrapped by the builder. * * @return mixed The value wrapped by the builder. */ public function build() { return $this->value; } }