\OCP\ShareIProviderFactory

Interface IProviderFactory

Summary

Methods
Constants
__construct()
getProvider()
getProviderForType()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

__construct()

__construct(\OCP\IServerContainer  $serverContainer) 

IProviderFactory constructor.

Parameters

\OCP\IServerContainer $serverContainer

getProvider()

getProvider(string  $id) : \OCP\Share\IShareProvider

Parameters

string $id

Throws

\OC\Share20\Exception\ProviderException

Returns

\OCP\Share\IShareProvider

getProviderForType()

getProviderForType(integer  $shareType) : \OCP\Share\IShareProvider

Parameters

integer $shareType

Throws

\OC\Share20\Exception\ProviderException

Returns

\OCP\Share\IShareProvider