Methods |
abstract
protected
static
|
getService(): class-string<TClass>
Get the class to instantiate
Get the class to instantiate
|
#
|
protected
static
|
getStaticConstructor(): ?string
Get a static method to call on the service class to create an instance,
or null to use the constructor
Get a static method to call on the service class to create an instance,
or null to use the constructor
|
#
|
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()
|
#
|
final
public
static
|
create()
Get a new builder
|
#
|
final
public
static
|
resolve($object)
Get an instance from a possibly-terminated builder
Get an instance from a possibly-terminated builder
Implements
|
#
|
final
public
|
getB(string $name): mixed
Get a value applied to the builder
Get a value applied to the builder
|
#
|
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
|
#
|
final
public
|
unsetB(string $name): static
Remove a value applied to the builder
Remove a value applied to the builder
|
#
|
final
public
|
build()
Terminate the builder by creating an instance
Terminate the builder by creating an instance
Implements
|
#
|
final
protected
|
withValueB(string $name, mixed $value): static
|
#
|
final
protected
|
withRefB<TValue>(string $name, TValue &$variable): static
|
#
|