Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
potfur committed Dec 2, 2014
1 parent c14f1e1 commit 9804464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# MOSS Micro Framework

[![Build Status](https://travis-ci.org/potfur/moss.png?branch=master)](https://travis-ci.org/potfur/moss)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/potfur/moss/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/potfur/moss/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/potfur/moss/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/potfur/moss/?branch=master)
[![Build Status](https://travis-ci.org/potfur/moss-framework.png?branch=master)](https://travis-ci.org/potfur/moss-framework)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/potfur/moss-framework/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/potfur/moss-framework/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/potfur/moss-framework/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/potfur/moss-framework/?branch=master)

For licence details see LICENCE.md
Documentation is available in ./docs/
Expand Down
17 changes: 1 addition & 16 deletions docs/03_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Configuration is split into sections:

$arr = array(
'framework' => array(),
'namespaces' => array(),
'container' => array(),
'dispatcher' => array(),
'router' => array()
Expand Down Expand Up @@ -72,20 +71,6 @@ In configuration array, this section looks like this:
)
);

## Namespaces

The `namespace` section contains list of namespaces that will be registered in autoloaders.
List is represented as associative array, where key is namespace name, and value array of paths:

$arr = array(
'namespaces' => array(
'\some\namespace\' => array(
'\first\path\to\',
'\second\path\to\'
)
)
);

## Container

Component definitions can be found in `container` section.
Expand Down Expand Up @@ -214,4 +199,4 @@ Mode can be set via constructor or by calling `::mode($mode)` method.

## View

`Config` instance is available in `View` under `config` variable.
`Config` instance is available in `View` under `config` variable.

0 comments on commit 9804464

Please sign in to comment.