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

Interface ClassResolverInterface

Class resolver interface.

Type-hint against this class if you only require to resolve classes from the container, not define factories, add callbacks or any of the other functionality. The ContainerInterface extends this interface, so if you type- hint against this interface, you will still get the container in most cases.

Direct known implementers

Autarky\Container\ContainerInterface

Indirect known implementers

Autarky\Container\Container
Namespace: Autarky\Container
Located at ClassResolverInterface.php
Methods summary
public mixed
# resolve( string $class )

Resolve a class from the container. Dependencies of the resolved object will be resolved recursively.

Resolve a class from the container. Dependencies of the resolved object will be resolved recursively.

Parameters

$class

Returns

mixed
Autarky Framework API documentation generated by ApiGen