Overview

Namespaces

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

Classes

  • AbstractDependantProvider
  • AbstractProvider

Interfaces

  • ConsoleProviderInterface
  • DependantProviderInterface
  • ProviderInterface

Exceptions

  • ProviderException
  • Overview
  • Namespace
  • Class

Class AbstractProvider

Abstract class for service providers.

Service providers are modular application configuration classes. They can do anything from binding a service class onto the service container to add a bunch of routes with distinct functionality.

Autarky\Providers\AbstractProvider implements Autarky\Providers\ProviderInterface, Autarky\Providers\ConsoleProviderInterface

Direct known subclasses

Autarky\Config\ConfigProvider, Autarky\Database\DatabaseProvider, Autarky\Errors\ErrorHandlerProvider, Autarky\Events\EventDispatcherProvider, Autarky\Http\CookieProvider, Autarky\Http\SessionProvider, Autarky\Logging\LoggingProvider, Autarky\Provider, Autarky\Providers\AbstractDependantProvider, Autarky\Routing\RoutingProvider

Indirect known subclasses

Autarky\Container\ContainerProvider, Autarky\Container\Proxy\ProxyProvider, Autarky\TwigTemplating\TwigTemplatingProvider
Abstract
Namespace: Autarky\Providers
Located at Providers/AbstractProvider.php
Methods summary
public
# setApplication( Autarky\Application $app )

Parameters

$app
abstract public
# register( )

Register the service provider.

Register the service provider.

Implementation of

Autarky\Providers\ProviderInterface::register()
public
# registerConsole( Symfony\Component\Console\Application $console )

Register the service provider with the console application.

Register the service provider with the console application.

Parameters

$console

Implementation of

Autarky\Providers\ConsoleProviderInterface::registerConsole()
Properties summary
protected Autarky\Application $app

The application instance.

The application instance.

#
Autarky Framework API documentation generated by ApiGen