Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bzick committed Feb 23, 2016
1 parent f8e7a70 commit a0f7167
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
Providers Collections
====

## Install

```
composer require fenom/providers-collection
```

## Multi directories template provider

Provider loads template from the filesystem.
Provider supports multiple directories where to look for templates.


Create and configure provider

```
$provider = new Fenom\MultiPathProvider([$path1, $path2]);
$provider->addPath($path3);
$provider->prependPath($path4);
```

Use the provider to create the object Fenom

```
$fenom = new Fenom($provider);
```

Use Fenom.

0 comments on commit a0f7167

Please sign in to comment.