mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-04 15:56:24 +02:00
25 lines
605 B
TypeScript
25 lines
605 B
TypeScript
import { ApplicationContract } from '@ioc:Adonis/Core/Application';
|
|
/**
|
|
* Registers drive with the IoC container
|
|
*/
|
|
export default class DriveProvider {
|
|
protected app: ApplicationContract;
|
|
constructor(app: ApplicationContract);
|
|
/**
|
|
* Register drive with the container
|
|
*/
|
|
protected registerDrive(): void;
|
|
/**
|
|
* Register routes for disks using "local" driver.
|
|
*/
|
|
protected defineDriveRoutes(): void;
|
|
/**
|
|
* Registering all required bindings to the container
|
|
*/
|
|
register(): void;
|
|
/**
|
|
* Register drive routes
|
|
*/
|
|
boot(): void;
|
|
}
|