Asher Wolfstein posted an update

Phabstractic: Configuration Trait

The thing about PHP and the mixin’s I’ve developed is that they are not necessarily a class, instead the idea is that they are a trait that offers a particular feature to another class. So you define a feature, something the class can do, such as logging, or being able to hold configurations (see below) and then you can add it to a particular class.

For more information see this blog post


Log in or sign up for Devpost to join the conversation.