private $pool;
/**
- * Array holding disks
+ * This vdev type
*
* @var OMVModuleZFSVdevType $type Vdev type
* @access private
* Constructor
*
* @param $pool pool this mirror belongs to
+ * @throws OMVModuleZFSException
*/
public function __construct($pool, OMVModuleZFSVdevType $type, array $disks) {
return $pool;
}
+ /**
+ * Get type
+ *
+ * @return OMVModuleZFSVdevType
+ * @access public
+ */
+ public function getType() {
+ return $type;
+ }
+
}
?>