{ "CONTAINER_SPLIT": { "": "'.';" }, "THROW_ONERRROR": { "": "0;" }, "NULL_ONERROR": { "": "1;" }, "CALL_ID": { "": "'call';" } }
Übergeordnet: IO4\Container (PHP Namespace) (IO4\Container)
Interface for Containers-Manager. Example-Implementation
<?php
namespace IO4\Container;
use Psr\Container\ContainerInterface;
interface ContainerCollectionInterface extends ContainerInterface
{
public const CONTAINER_SPLIT = '.';
public const THROW_ONERRROR = 0;
public const NULL_ONERROR = 1;
public const CALL_ID = 'call';
public function setFinalFallbackContainer(ContainerInterface $container): ContainerCollectionInterface;
public function hasFinalFallbackContainer(): bool;
public function getKnownEntryNames(): array;
public function addContainer(
ContainerInterface &$container,
string|int &$containerId = null,
): ContainerCollectionInterface;
public function &getContainer(string|int $containerId = null);
public function hasContainer(string|int $containerId = null): bool;
}
Statischer Link zu dieser Seite