Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • Container
  • ContainerProvider

Interfaces

  • CallableInvokerInterface
  • ClassResolverInterface
  • ContainerAwareInterface
  • ContainerInterface

Traits

  • ContainerAwareTrait
  • Overview
  • Namespace
  • Class

Namespace Autarky\Container

Namespaces summary
Autarky\Container\Exception
Autarky\Container\Factory
Autarky\Container\Proxy
Classes summary
Container Default implementation of the container.
ContainerProvider Provides the application with a container.
Interfaces summary
CallableInvokerInterface Callable invoker interface.
ClassResolverInterface Class resolver interface.
ContainerAwareInterface Interface for container-aware classes.
ContainerInterface

The container in Autarky is a combination of a service locator and a dependency injector. Whenever dealing with classes that have dependencies, the container should usually be told to resolve an instance of that class rather than instantiating it yourself.

Traits summary
ContainerAwareTrait Simple implementation of ContainerAwareInterface that other classes can use.
Autarky Framework API documentation generated by ApiGen