X-Git-Url: http://git.datanom.net/omvzfs.git/blobdiff_plain/63617ac219787335b77eb40d276b41546420c763..b7cf97c0e1a5a1761b33fc8fc8f44aaedad4c46e:/src/Vdev.php diff --git a/src/Vdev.php b/src/Vdev.php index d6c0047..b9183d8 100644 --- a/src/Vdev.php +++ b/src/Vdev.php @@ -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; + } + } ?>