PHP Class Bitpay\Bitpay

Afficher le fichier Open project: bitpay/php-client

Protected Properties

Свойство Type Description
$container Symfony\Component\DependencyInjection\ContainerInterface

Méthodes publiques

Méthode Description
__construct ( array | string $config = [], Symfony\Component\DependencyInjection\ContainerInterface $container = null ) First argument can either be a string or fullpath to a yaml file that contains configuration parameters. For a list of configuration values see \Bitpay\Config\Configuration class
get ( $service ) : mixed
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface

Méthodes protégées

Méthode Description
buildContainer ( $config ) Build the container of services and parameters
getParameters ( )
initializeContainer ( $config ) Initialize the container

Private Methods

Méthode Description
getContainerLoader ( Symfony\Component\DependencyInjection\ContainerInterface $container ) : Symfony\Component\Config\Loader\LoaderInterface
getDefaultExtensions ( ) : array Returns an array of the default extensions
prepareContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container )

Method Details

__construct() public méthode

The second argument is the container if you want to build one by hand.
public __construct ( array | string $config = [], Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$config array | string
$container Symfony\Component\DependencyInjection\ContainerInterface

buildContainer() protected méthode

Build the container of services and parameters
protected buildContainer ( $config )

get() public méthode

public get ( $service ) : mixed
Résultat mixed

getContainer() public méthode

public getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Résultat Symfony\Component\DependencyInjection\ContainerInterface

getParameters() protected méthode

protected getParameters ( )

initializeContainer() protected méthode

Initialize the container
protected initializeContainer ( $config )

Property Details

$container protected_oe property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
Résultat Symfony\Component\DependencyInjection\ContainerInterface