| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class AttributeStore extends AbstractRequestAwareStore |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Save the given state against the given ID returning an associative array to be added as attributes on the form |
||
| 11 | * action |
||
| 12 | * |
||
| 13 | * @param string $id |
||
| 14 | * @param array $state |
||
| 15 | * @return array |
||
| 16 | */ |
||
| 17 | public function save($id, array $state) |
||
| 22 | ]; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Load state for a given ID |
||
| 27 | * |
||
| 28 | * @param string $id |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function load($id) |
||
| 37 |