12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- namespace OC\Federation;
- use OCP\Federation\ICloudFederationFactory;
- use OCP\Federation\ICloudFederationNotification;
- use OCP\Federation\ICloudFederationShare;
- class CloudFederationFactory implements ICloudFederationFactory {
-
- public function getCloudFederationShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $sharedSecret, $shareType, $resourceType) {
- return new CloudFederationShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $shareType, $resourceType, $sharedSecret);
- }
-
- public function getCloudFederationNotification() {
- return new CloudFederationNotification();
- }
- }
|