public static function register($user, $pass, $details, $email, $imgUrl) { $pwHash = Auth::register_hash($user, $pass); $res = MyDB::registerCompany($user, $pwHash, $details, $email, $imgUrl); return $res; }