# $pricesField->fill()

> Turns the stored list into one price per pricing rule

- Source: `src/PricesField.php#L51` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/PricesField.php#L51>

```php
$pricesField->fill( $value): Wagnerwagner\Merx\PricesField
```

## Parameters

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

## Return type

`Wagnerwagner\Merx\PricesField`

## Description

A plain number is the price of the `default` pricing rule. The Panel
submits one price per rule already, so only a list is converted.

## Parent class

`Wagnerwagner\Merx\PricesField`
