mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
commit
2ed57c959c
@ -38,7 +38,7 @@ $fenom = Fenom::factory('/path/to/templates', '/path/to/compiled/template', $opt
|
|||||||
```
|
```
|
||||||
Пример создания Fenom через оператор `new`:
|
Пример создания Fenom через оператор `new`:
|
||||||
```php
|
```php
|
||||||
$fenom = new Fenom(new Fenom/Provider('/path/to/templates'));
|
$fenom = new Fenom(new Fenom\Provider('/path/to/templates'));
|
||||||
$fenom->setCompileDir('/path/to/template/cache');
|
$fenom->setCompileDir('/path/to/template/cache');
|
||||||
$fenom->setOptions($options);
|
$fenom->setOptions($options);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user