PHP Class SlimServices\ServiceManager

Inheritance: extends Illuminate\Container\Container
Show file Open project: itsgoingd/slim-services Class Usage Examples

Protected Properties

Property Type Description
$app
$services

Public Methods

Method Description
__construct ( Slim\Slim $app )
bind ( $abstract, $concrete = null, $shared = false ) Overload the bind method so the services are added to the Slim DI container as well as Illuminate container
boot ( ) Boot all registered service providers
register ( ServiceProvider $service ) Register a service provider with the application
registerServices ( array $services ) Register services specified by class names in an array

Method Details

__construct() public method

public __construct ( Slim\Slim $app )
$app Slim\Slim

bind() public method

Overload the bind method so the services are added to the Slim DI container as well as Illuminate container
public bind ( $abstract, $concrete = null, $shared = false )

boot() public method

Boot all registered service providers
public boot ( )

register() public method

Register a service provider with the application
public register ( ServiceProvider $service )
$service Illuminate\Support\ServiceProvider

registerServices() public method

Register services specified by class names in an array
public registerServices ( array $services )
$services array

Property Details

$app protected property

protected $app

$services protected property

protected $services