<TProvider is ProviderInterface, TContext is ProviderContextInterface>
Implements Providable to represent an external entity
Methods | ||
---|---|---|
final
public
|
setProvider(TProvider $provider): $this
|
# |
final
public
|
getProvider(): TProvider|null
|
# |
final
public
|
setContext(TContext $context): $this
|
# |
final
public
|
getContext(): TContext|null
|
# |
final
public
|
setService(class-string $service): void
|
# |
final
public
|
getService(): class-string
|
# |
final
public
static
|
provide(mixed[] $data, TProvider $provider, TContext|null $context = null): static
|
# |
final
public
static
|
provideMultiple(
iterable<array-key, mixed[]> $list,
TProvider $provider,
ListConformity::* $conformity = ListConformity::NONE,
TContext|null $context = null,
): FluentIteratorInterface<array-key, static>
|
# |