Releases: FoilPHP/Foil
Releases · FoilPHP/Foil
v0.6.7
v0.6.6
v0.6.5
v0.6.4
v0.6.3
v0.6.2
v0.6.1
v0.6.0
New Features, Issues Solved
- Introduced Blocks and Custom Blocks feature
- Introduced "alias" feature that shorten syntax to access variables and functions inside templates
- Introduced Section Rendering feature
- Better control on registered folders, see docs.
Engine::render()
,Engine::find()
andFinder::find()
now also accepts an array of template names to be searched in registered folders. The first found is returned.- Introduced
Foil\Foil
class - Fixed issue on arraization of objects
- Clean up & code style improvements
Backward Compatibility Breaks
Foil\API
class has been removedFoil\Contracts\APIAwareInterface
has been removedFoil\Traits\APIAwareTrait
has been removedFoil\Bootstrapper
class has been removed- Most of the API functions have been removed. See docs.
Foil\engine()
functions now always returns a "fresh" instance ofFoil\Engine
class, whereas in older versions always returned same instance when called more times.