public function getProxy($name) { $proxy = $this->container->get(self::REGISTER_KEY, $name); if ($proxy == null) { throw new Exceptions\NotExistsProxyException(); } return $proxy; }