public function get($key) { try { return $this->container->get($key); } catch (AccessException $e) { throw new AccessException('"' . $key . '" doesn\'t exist in this object.'); } }