/** * Persists the current user to the storage provider. * * @return null */ protected static function saveCurrentUser() { $storage = ParseClient::getStorage(); $storage->set('user', static::getCurrentUser()); }