Exemple #1
0
 /**
  * Create a mount
  *
  * @param $mountId
  *
  * @return bool|\DreamFactory\Enterprise\Database\Models\Mount
  */
 protected function _createMount($mountId)
 {
     if (false === ($_data = $this->_prepareData($mountId))) {
         return false;
     }
     $_mount = Models\Mount::create($_data);
     $this->concat('mount id ')->asComment($mountId)->flush(' created.');
     return $_mount;
 }