Skip to content

Commit

Permalink
chore: add ImageManager to php stub
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
  • Loading branch information
elzody authored and backportbot[bot] committed Oct 11, 2024
1 parent 46672c7 commit 6c6efcc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions tests/stub.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,35 @@ namespace OCA\Files_Sharing\Event {
}
}

namespace OCA\Theming {
use OCA\Theming\Service\BackgroundService;
use OCA\Files\IAppData;
use OCP\ICacheFactory;
use OCP\IConfig;
use OCP\ITempManager;
use OCP\IURLGenerator;
use PSR\Log\LoggerInterface;

class ImageManager {
public function __construct(
IConfig $config,
IAppData $appData,
IURLGenerator $urlGenerator,
ICacheFactory $cacheFactory,
LoggerInterface $logger,
ITempManager $tempManager,
BackgroundService $backgroundService
) {
}

public function hasImage(string $key): bool {
}

public function getImageUrlAbsolute(string $key): string {
}
}
}

class OC_Helper {
public static function getFileTemplateManager() {
}
Expand Down

0 comments on commit 6c6efcc

Please sign in to comment.