public function fromHash($hash) { if ($hash === null || $hash === '') { return $this->getEmptyValue(); } return new Value($hash); }