\Omega\Container\ServiceProvider ServiceProviderInterface

ServiceProviderInterface defines a contract for binding services to an application container within the Omega framework. Implementations of this interface will provide the logic to register services or dependencies into the application's service container.

  • bind(Application $application): void
  • This method is responsible for binding services or components to the provided Application instance.
  • The Application parameter represents the main application container to which services are bound.
  • The method does not return a value and is expected to perform its operations internally.

Summary

Methods
Constants
bind()
No public constants found

Methods

bind()

bind(\Omega\Application\Application  $application) : void

Registers or binds services into the application container.

Parameters

\Omega\Application\Application $application

Holds the main application container to which services are bound.

Returns

void —

This method does not return a value.