Overview

Namespaces

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

Classes

  • ConnectionManager
  • DatabaseProvider

Interfaces

  • ConnectionFactoryInterface

Exceptions

  • CannotConnectException
  • Overview
  • Namespace
  • Class

Class DatabaseProvider

Simple service provider that binds a shared PDO instance onto the container, using settings found in the database config file.

Autarky\Providers\AbstractProvider implements Autarky\Providers\ProviderInterface, Autarky\Providers\ConsoleProviderInterface
Extended by Autarky\Database\DatabaseProvider
Namespace: Autarky\Database
Located at Database/DatabaseProvider.php
Methods summary
public
# register( )

Register the service provider.

Register the service provider.

Methods inherited from Autarky\Providers\AbstractProvider
registerConsole(), setApplication()
Properties inherited from Autarky\Providers\AbstractProvider
$app
Autarky Framework API documentation generated by ApiGen