public function lookup($className) { return DoctrineEntityManagerProxy::__create($className)->__setSession($this->__getSession()); }