|
@@ -48,6 +48,11 @@ class Version
|
|
|
*/
|
|
|
private $type;
|
|
|
|
|
|
+ /**
|
|
|
+ * @ORM\Column(nullable="true")
|
|
|
+ */
|
|
|
+ private $installAs;
|
|
|
+
|
|
|
/**
|
|
|
* @ORM\Column(type="array", nullable="true")
|
|
|
*/
|
|
@@ -199,6 +204,7 @@ class Version
|
|
|
'time' => $this->getReleasedAt() ? $this->getReleasedAt()->format('Y-m-d\TH:i:sP') : null,
|
|
|
'dist' => $this->getDist(),
|
|
|
'type' => $this->getType(),
|
|
|
+ 'installAs' => $this->getInstallAs(),
|
|
|
'extra' => $this->getExtra(),
|
|
|
);
|
|
|
|
|
@@ -566,6 +572,26 @@ class Version
|
|
|
return $this->type;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Set installAs
|
|
|
+ *
|
|
|
+ * @param text $installAs
|
|
|
+ */
|
|
|
+ public function setInstallAs($installAs)
|
|
|
+ {
|
|
|
+ $this->installAs = $installAs;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get installAs
|
|
|
+ *
|
|
|
+ * @return string
|
|
|
+ */
|
|
|
+ public function getInstallAs()
|
|
|
+ {
|
|
|
+ return $this->installAs;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Set extra
|
|
|
*
|