container = $container; } public function get($id) { if ($this->container->bound($id)) { try { return $this->container->make($id); } catch (\Exception $prev) { throw AcclimateContainerException::fromPrevious($id, $prev); } } else { throw AcclimateNotFoundException::fromPrevious($id); } } public function has($id) { return $this->container->bound($id); } }