From e4e76ded4c155c19ebca16ddf73a36dacc8f67d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=90=E6=AD=A6?= Date: Wed, 15 Jan 2014 22:57:32 +0800 Subject: [PATCH] update custom-installers.md --- cn-introduction/articles/custom-installers.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cn-introduction/articles/custom-installers.md b/cn-introduction/articles/custom-installers.md index 2d69a8b..c64363e 100644 --- a/cn-introduction/articles/custom-installers.md +++ b/cn-introduction/articles/custom-installers.md @@ -146,13 +146,9 @@ InstallerInterface 类定义了以下方法(请查阅源码以获得更详细 } } -The example demonstrates that it is quite simple to extend the -[`Composer\Installer\LibraryInstaller`][5] class to strip a prefix -(`phpdocumentor/template-`) and use the remaining part to assemble a completely -different installation path. +这个例子演示了,简单的继承 [`Composer\Installer\LibraryInstaller`][5] 类来剥离 `phpdocumentor/template-` 前缀,并用剩余的部分重新组装了一个完全不同的安装路径。 -> _Instead of being installed in `/vendor` any package installed using this -> Installer will be put in the `/data/templates/` folder._ +> _并非安装在 `/vendor` 目录,任何使用这个安装程序的资源包,将被放置在 `/data/templates/` 目录中。_ [1]: ../04-schema.md#type [2]: ../04-schema.md#extra