public function getPackageName() { if (is_null($this->version)) { return $this->name . ':dev-master'; } return $this->name . ':' . $this->version; }