LazyProp.php

Traits

LazyProp Lazy properties trait. Whenever a class uses this trait, properties can be added by calling $instance->lazy('propertyName', function() { return 2*2; });