@ -224,4 +224,16 @@ class Instance
$this->container = $builder->build();
}
public function has(string $key): bool {
return $this->container->has($key);
public function get(string $key, $default = null) {
if (!$this->container->has($key)) {
return $default;
return $this->container->get($key);