PHP Class Autarky\Providers\AbstractProvider

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.
Inheritance: implements Autarky\Providers\ProviderInterface, implements Autarky\Providers\ConsoleProviderInterface
Show file Open project: autarky/framework

Protected Properties

Property Type Description
$app Autarky\Application The application instance.

Public Methods

Method Description
register ( )
registerConsole ( Application $console )
setApplication ( Application $app )

Method Details

register() abstract public method

abstract public register ( )

registerConsole() public method

public registerConsole ( Application $console )
$console Symfony\Component\Console\Application

setApplication() public method

public setApplication ( Application $app )
$app Autarky\Application

Property Details

$app protected property

The application instance.
protected Application,Autarky $app
return Autarky\Application