From d693bdf3bcb9741b034bc6ca872e1138f98069e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=BClke?= Date: Wed, 13 Mar 2013 16:39:22 +0200 Subject: [PATCH] Clarify custom installer names/interfaces "i.e." is an abbreviation for "id est", meaning "that is". The intention here is probably "e.g.", "exempli gratia", meaning "for example". Also gave non-`Composer\` example path and added the name of the interface an installer should implement (it's mentioned later in the article, but it's useful to mention it early). --- doc/articles/custom-installers.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/articles/custom-installers.md b/doc/articles/custom-installers.md index 3ac4eeb6a..b62f869ba 100644 --- a/doc/articles/custom-installers.md +++ b/doc/articles/custom-installers.md @@ -55,10 +55,7 @@ package that has the [type][1] `composer-installer`. A basic Installer would thus compose of two files: 1. the package file: composer.json -2. The Installer class, i.e.: `Composer\Installer\MyInstaller.php` - -> **NOTE**: _The namespace does not need to be `Composer\Installer`, it must -> only implement the right interface._ +2. The Installer class, e.g.: `My\Project\Composer\Installer.php`, containing a class that implements `Composer\Installer\InstallerInterface˚. ### composer.json @@ -159,4 +156,4 @@ different installation path. [1]: ../04-schema.md#type [2]: ../04-schema.md#extra [3]: https://github.com/composer/composer/blob/master/src/Composer/Installer/InstallerInterface.php -[4]: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php \ No newline at end of file +[4]: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php