container = $container; } public function get($id) { try { return $this->container->get($id); } catch (PhalconDIException $prev) { throw AcclimateNotFoundException::fromPrevious($id); } catch (\Exception $prev) { throw AcclimateContainerException::fromPrevious($id, $prev); } } public function has($id) { return isset($this->container[$id]); } }