From fc2e9e48e8bfed59348708748fe4b74341a2c953 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Fri, 20 Jul 2012 20:38:46 +0200 Subject: [PATCH] Clarify that root package depends on context --- doc/04-schema.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/04-schema.md b/doc/04-schema.md index ab4e5d073..9ccfcd7ad 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -23,6 +23,11 @@ The config of dependencies is ignored. This makes the `config` field If you clone one of those dependencies to work on it, then that package is the root package. The `composer.json` is identical, but the context is different. +> **Note:** A package can be the root package or not, depending on the context. +> For example, if your project depends on the `monolog` library, your project +> is the root package. However, if you clone `monolog` from GitHub in order to +> fix a bug in it, then `monolog` is the root package. + ## Properties ### name