ICanBoogie/Service master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Service

Classes

  • ServiceProvider
  • ServiceReference

Functions

  • ref

Class ServiceProvider

Namespace: ICanBoogie\Service
Located at ServiceProvider.php

Methods summary

public static callable
# define( callable $provider )

Define the service provider.

Define the service provider.

Parameters

$provider

Returns

callable
The previous provider, or null if none was defined.
public static callable|null
# defined( )

Return the current provider.

Return the current provider.

Returns

callable|null
public static
# undefine( )

Undefine the provider.

Undefine the provider.

public static mixed
# provide( string $id )

Return a service.

Return a service.

Parameters

$id
Service identifier.

Returns

mixed
ICanBoogie/Service master API documentation generated by ApiGen