Skip to content

Added Virtual Properties and Template trait

Latest
Compare
Choose a tag to compare
@am0s am0s released this 28 Jan 09:59
· 1 commit to master since this release

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.