Backed
A backed structure has several meanings:
- Backed enumeration: an enumeration that has an integer or string value
- Backed property: a property with a hook, that actually stores the value in the property.
<?php
enum Habitat : int {
case Savanna = 1;
}
class Elephpant {
private $trunkLength { get => $this->trunkLength;}
}
?>