class Application implements ApplicationInterface
Phraseanet SDK Application
Methods
__construct(GuzzleAdapter $adapter, $clientId, $secret) | ||
OAuth2Connector |
getOauth2Connector()
Return the OAuth2Connector |
|
EntityManager |
getEntityManager(string $token)
Returns the entity manager given a token |
|
Monitor |
getMonitor(string $token)
Returns a monitor instance |
|
GuzzleAdapter |
getAdapter()
Returns the guzzle adapter |
|
static Application |
create(array $config, array $cache = array(), array $plugins = array())
Creates the application. |
Details
at line 39
public
__construct(GuzzleAdapter $adapter, $clientId, $secret)
at line 49
public OAuth2Connector
getOauth2Connector()
Return the OAuth2Connector
at line 61
public EntityManager
getEntityManager(string $token)
Returns the entity manager given a token
at line 83
public Monitor
getMonitor(string $token)
Returns a monitor instance
at line 107
public GuzzleAdapter
getAdapter()
Returns the guzzle adapter
at line 123
static public Application
create(array $config, array $cache = array(), array $plugins = array())
Creates the application.