1: <?php
2: namespace Pharborist\Types;
3:
4: use Pharborist\NodeInterface;
5:
6: /**
7: * A single, static value that is not composed of other values (like an array). The
8: * following are all valid ScalarNodes:
9: *
10: * - Non-interpolated strings: `'Herro'`, `"Why the long face?"`
11: * - Integers: 0, 30, -1
12: * - Floats: 3.141, 8.75
13: * - Booleans: `TRUE`, `FALSE`
14: * - Null
15: */
16: interface ScalarNode extends NodeInterface {
17: /**
18: * @return mixed
19: */
20: public function toValue();
21: }
22: