Versions in this module Expand all Collapse all v1 v1.15.0 Sep 9, 2024 Changes in this version + var App foundation.Application + func NewApplication() foundation.Application + type Application struct + func (app *Application) BasePath(path ...string) string + func (app *Application) Boot() + func (app *Application) Commands(commands []consolecontract.Command) + func (app *Application) ConfigPath(path ...string) string + func (app *Application) CurrentLocale(ctx context.Context) string + func (app *Application) DatabasePath(path ...string) string + func (app *Application) ExecutablePath(path ...string) string + func (app *Application) GetJson() foundation.Json + func (app *Application) IsLocale(ctx context.Context, locale string) bool + func (app *Application) LangPath(path ...string) string + func (app *Application) Path(path ...string) string + func (app *Application) PublicPath(path ...string) string + func (app *Application) Publishes(packageName string, paths map[string]string, groups ...string) + func (app *Application) SetJson(j foundation.Json) + func (app *Application) SetLocale(ctx context.Context, locale string) context.Context + func (app *Application) StoragePath(path ...string) string + func (app *Application) Version() string + type Container struct + func NewContainer() *Container + func (c *Container) Bind(key any, callback func(app foundationcontract.Application) (any, error)) + func (c *Container) BindWith(key any, ...) + func (c *Container) Instance(key any, ins any) + func (c *Container) Make(key any) (any, error) + func (c *Container) MakeArtisan() consolecontract.Artisan + func (c *Container) MakeAuth(ctx httpcontract.Context) authcontract.Auth + func (c *Container) MakeCache() cachecontract.Cache + func (c *Container) MakeConfig() configcontract.Config + func (c *Container) MakeCrypt() cryptcontract.Crypt + func (c *Container) MakeEvent() eventcontract.Instance + func (c *Container) MakeGate() accesscontract.Gate + func (c *Container) MakeGrpc() grpccontract.Grpc + func (c *Container) MakeHash() hashcontract.Hash + func (c *Container) MakeLang(ctx context.Context) translationcontract.Translator + func (c *Container) MakeLog() logcontract.Log + func (c *Container) MakeMail() mailcontract.Mail + func (c *Container) MakeOrm() ormcontract.Orm + func (c *Container) MakeQueue() queuecontract.Queue + func (c *Container) MakeRateLimiter() httpcontract.RateLimiter + func (c *Container) MakeRoute() routecontract.Route + func (c *Container) MakeSchedule() schedulecontract.Schedule + func (c *Container) MakeSchema() migrationcontract.Schema + func (c *Container) MakeSeeder() seerdercontract.Facade + func (c *Container) MakeSession() sessioncontract.Manager + func (c *Container) MakeStorage() filesystemcontract.Storage + func (c *Container) MakeTesting() testingcontract.Testing + func (c *Container) MakeValidation() validationcontract.Validation + func (c *Container) MakeView() httpcontract.View + func (c *Container) MakeWith(key any, parameters map[string]any) (any, error) + func (c *Container) Singleton(key any, callback func(app foundationcontract.Application) (any, error))