Skip to content

Releases: Aplia/php-helpers

Added Virtual Properties and Template trait

28 Jan 09:59
Compare
Choose a tag to compare

VirtualProperties is a trait which makes it easier to use virtual properties in classes by creating methods with a special prefixes, they will then be available as properties from the outside.

TemplateAttributes is a trait for making any class properties available as attributes for the eZ publish template engine. It is best paired with the VirtualProperties trait.

See the README.md or docblocks for more details.