CloneableInstantiable
Methods |
public __construct(string $name, string $directory, ?string $value = NULL) Make a new Tree. Each tree has a name and potential value.
|
public lookup(array $parts, string $directory) : ?string Look up a section of the tree.
|
Properties |
private string $name |
private array $translations = [] The Tree class emulates a multi-dimentional array. There is no easy way to have an arbitrary depth on a PHP multi-dimentional and be able to add to it.
|
private ?string $value = NULL |