Back to BootableExtensionInterface class

Method boot

public void
boot
(\Psr\Container\ContainerInterface $container)
Booting the extension. This is the function to set up the environment of the extension like registering new class loaders, etc.
Parameters
  • \Psr\Container\ContainerInterface $container The container
Returns
  • void
Since
  • 4.0.0

Method boot - Source code

/**
 * Booting the extension. This is the function to set up the environment of the extension like
 * registering new class loaders, etc.
 *
 * If required, some initial set up can be done from services of the container, eg.
 * registering HTML services.
 *
 * @param   ContainerInterface  $container  The container
 *
 * @return  void
 *
 * @since   4.0.0
 */
public function boot(ContainerInterface $container);