# $price->__set()

> Magic property setter

- Source: `src/Toolkit/Obj.php#L52` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Toolkit/Obj.php#L52>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$price->__set(string $property,  $value): void
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$property` | `string` | `–` |
| `$value` | `–` | `–` |

## Return type

`void`

## Parent class

`Wagnerwagner\Merx\Price` inherited from `Kirby\Toolkit\Obj`
