public function writeProxyClassCache()
    {
        $parameters = array(
            'proxyNameSpace' => $this->getProxyNameSpace(),
            'proxyClassName' => $this->proxyClass,
            'shortClassName' => $this->getShortClassName(),
            'originalClassName' => $this->class,
        );
        $proxyClassDefinition = $this->render($this->template, $parameters);
        $this->fs->dumpFile($this->proxyClassCacheFilename, $proxyClassDefinition);

        return $this;
    }