]> git.datanom.net - omvzfs.git/blobdiff - src/Vdev.php
Changes made to design. Begin implementation of zpool.
[omvzfs.git] / src / Vdev.php
index d6c0047fe87da15227ce156c23df4c931898f63e..b9183d84ba24a24061bf566c310d1dae4733564c 100644 (file)
@@ -42,6 +42,7 @@ class OMVModuleZFSVdev {
         * Constructor
         *
         * @param $pool pool this mirror belongs to
+     * @throws OMVModuleZFSException
         */
 
        public function __construct($pool, OMVModuleZFSVdevType $type, array $disks) {
@@ -188,6 +189,16 @@ class OMVModuleZFSVdev {
         return $pool;
     }
 
+    /**
+     * Get type
+     *
+     * @return OMVModuleZFSVdevType
+     * @access public
+     */
+    public function getType() {
+        return $type;
+    }
+
 }
 
 ?>
This page took 0.034103 seconds and 5 git commands to generate.