1 | <?php |
||
12 | class SimpleStatement { |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | public $propertyName; |
||
18 | |||
19 | /** |
||
20 | * @var PropertyId |
||
21 | */ |
||
22 | public $propertyId; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | public $valueType; |
||
28 | |||
29 | /** |
||
30 | * Should have at least one element. |
||
31 | * |
||
32 | * @var DataValue[] |
||
33 | */ |
||
34 | public $values = []; |
||
35 | |||
36 | public static function newInstance() { |
||
39 | |||
40 | public function withPropertyName( $propertyName ) { |
||
44 | |||
45 | public function withType( $type ) { |
||
49 | |||
50 | public function withValues( array $values ) { |
||
54 | |||
55 | public function withPropertyId( $propertyId ) { |
||
59 | |||
60 | } |