Foil v0.6.0 Release Notes
Release Date: 2015-07-03 // over 8 years ago-
๐ 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 removed - ๐
Foil\Contracts\APIAwareInterface
has been removed - ๐
Foil\Traits\APIAwareTrait
has been removed - ๐
Foil\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.