public function fromLdap($value) { $version = $value; if (!preg_match(self::VERSION_REGEX, $value, $matches)) { return $version; } return $this->getFriendlyName(...$this->getBuildNumbers($matches)); }