PShowcase
EN NL
05 / 20

Props & methods

Static, computed and cached values, without boilerplate getters.

.phlo
prop title = 'Phlo Showcase'       // static value
prop now => time()                 // computed, cached on first read
prop greet($who) => "Hi $who"      // computed with arguments

method total => count($this->items)

// read without parentheses: $this->now, $this->title
statictitlePhlo Showcase
computednow03:36:00
cachedslides20