Methods |
abstract
protected
static
|
getService(): class-string<TClass>
Get the class to build
|
#
|
protected
static
|
getTerminators(): string[]
Get methods to forward to a new instance of the service class
Get methods to forward to a new instance of the service class
|
#
|
final
public
|
__construct(?ContainerInterface $container = null)
Creates a new builder
|
#
|
final
public
static
|
create(?ContainerInterface $container = null)
Get a new builder
|
#
|
final
public
static
|
resolve($object)
Get an instance from an optionally terminated builder
Get an instance from an optionally terminated builder
Implements
|
#
|
final
public
|
getContainer(): ContainerInterface
Get the builder's container
Get the builder's container
|
#
|
final
public
|
getB(string $name)
Get a value applied to the builder
Get a value applied to the builder
Implements
|
#
|
final
public
|
issetB(string $name): bool
Check if a value has been applied to the builder
Check if a value has been applied to the builder
Implements
|
#
|
final
public
|
unsetB(string $name)
Remove a value applied to the builder
Remove a value applied to the builder
Implements
|
#
|
final
public
|
build()
Resolve the builder to an instance
Resolve the builder to an instance
Implements
|
#
|
final
protected
|
withValueB(string $name, mixed $value): static
|
#
|
final
protected
|
withRefB(string $name, mixed &$variable): static
|
#
|
final
public
|
go(): TClass
Deprecated
Use {@see build()} instead
|
#
|