mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
25 lines
424 B
PHP
25 lines
424 B
PHP
<?php
|
|
|
|
namespace OCP\AppFramework;
|
|
|
|
use OCP\AppFramework\IApi;
|
|
use OCP\Core\IContainer;
|
|
|
|
/**
|
|
* Class IAppContainer
|
|
* @package OCP\AppFramework
|
|
*
|
|
* This container interface provides short cuts for app developers to access predefined app service.
|
|
*/
|
|
interface IAppContainer extends IContainer{
|
|
|
|
/**
|
|
* @return IApi
|
|
*/
|
|
function getCoreApi();
|
|
|
|
/**
|
|
* @return \OCP\Core\IServerContainer
|
|
*/
|
|
function getServer();
|
|
}
|