Skip to content

FlysystemServiceProvider

Methods

register

public register(): void

registerFilesystem

private registerFilesystem(): void

registerAdapter

private registerAdapter(): void

Inherited methods

__construct

public __construct(\Codefy\Framework\Application $codefy): mixed

Parameters:

Parameter Type Description
$codefy \Codefy\Framework\Application

booting

Register a booting callback to be run before the "boot" method is called.

public booting(\Closure $callback): void

Parameters:

Parameter Type Description
$callback \Closure

booted

Register a booted callback to be run after the "boot" method is called.

public booted(\Closure $callback): void

Parameters:

Parameter Type Description
$callback \Closure

callBootingCallbacks

Call the registered booting callbacks.

public callBootingCallbacks(): void

callBootedCallbacks

Call the registered booted callbacks.

public callBootedCallbacks(): void

defaultProviders

Get the default providers for a CodefyPHP application.

public static defaultProviders(): \Codefy\Framework\Support\DefaultProviders
  • This method is static.

publishes

Register publishable paths for this provider.

public publishes(array<string,string> $paths, string|null $group = null): void

Parameters:

Parameter Type Description
$paths array [from => tag]
$group string|null Optional tag/group name ("config", "migrations", etc.)

pathsToPublish

Get all publishable paths for this provider.

public pathsToPublish(string|null $tag = null): array<string,string>

Parameters:

Parameter Type Description
$tag string|null Restrict to a tag (e.g. "config", "migrations")

Return Value:

[from => tag]


publishTags

List all tags defined by this provider.

public publishTags(): string[]


Automatically generated on 2025-10-13