Documentation

ContainerBuilder
in package

Tags
experimental

This class is experimental and does not fall under our BC promise

Table of Contents

$definitions  : array<string, callable|object|string>
add()  : self
build()  : ContainerInterface
defaultExtensions()  : array<string|int, mixed>
Get an array with extension that represent the default English functionality.
getDefault()  : ContainerInterface

Properties

$definitions

private array<string, callable|object|string> $definitions = []

Methods

add()

public add(callable|object|string $value[, string $name = null ]) : self
Parameters
$value : callable|object|string
$name : string = null
Tags
throws
InvalidArgumentException
Return values
self

defaultExtensions()

Get an array with extension that represent the default English functionality.

public static defaultExtensions() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results