mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 08:44:12 +03:00
added versioning to prevent breaking existing projects
This commit is contained in:
parent
51f8a3056b
commit
3a25d9bf17
@ -83,12 +83,6 @@ echo $engine->render(
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
upgrading to newer versions
|
|
||||||
-----
|
|
||||||
|
|
||||||
If you are upgrading to the new library version which uses TTL with Disk cache,
|
|
||||||
first do not forget to delete all the files in the cache directory
|
|
||||||
created by older versions, since the data structure has changed.
|
|
||||||
|
|
||||||
contribution
|
contribution
|
||||||
------------
|
------------
|
||||||
|
@ -38,7 +38,7 @@ use Handlebars\Cache\Dummy;
|
|||||||
class Handlebars
|
class Handlebars
|
||||||
{
|
{
|
||||||
private static $_instance = false;
|
private static $_instance = false;
|
||||||
const VERSION = '1.0.0';
|
const VERSION = '1.1.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* factory method
|
* factory method
|
||||||
|
Loading…
Reference in New Issue
Block a user