UploadServiceProvider
final class UploadServiceProvider implements ServiceProviderInterface, BootableServiceProviderInterface (View source)
Registers upload validation, risk and path policy, storage, and request-scoped upload entry points.
Profile configuration is resolved during provider boot so unsafe paths, storage overlap, unauthorized format risks, and invalid byte limits fail before requests are handled.
Methods
Registers shared upload services and keeps request-bound factories scoped to the active request.
Materializes profiles and rejects configured private storage that overlaps the public web root.
Details
register
void
register(ContainerBuilderInterface $container)
Registers shared upload services and keeps request-bound factories scoped to the active request.
boot
void
boot(ContainerInterface $container)
Materializes profiles and rejects configured private storage that overlaps the public web root.