Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.2 KB

readme.md

File metadata and controls

32 lines (22 loc) · 1.2 KB

Providers Collections

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

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\MultiPathsProvider([$path1, $path2]);
$provider->addPath($path3);
$provider->prependPath($path4);

Use the provider to create the object Fenom

$fenom = new Fenom($provider);

Use Fenom.