__construct() __construct(array $config = array()) Constructor Parameters array $config Container configuration types array with =>
setInstance() setInstance(\Phile\Core\Container $instance): void Sets instance for static usage Parameters \Phile\Core\Container $instance
set() set(string $id,mixed $object): self Set an object Parameters string $id Identifier for the object to set mixed $object Object to set Returnsself
typeCheck() typeCheck(string $id,mixed $object): void Check object-type matches required type for that ID Parameters string $id mixed $object Throws \Phile\Exception\ContainerException