| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final class StorageContext implements Context, StorageAwareInterface |
||
| 21 | { |
||
| 22 | use StorageAwareTrait; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Store a value to re-use later |
||
| 26 | * |
||
| 27 | * Example: |
||
| 28 | * |
||
| 29 | * <code> |
||
| 30 | * - And grab "{response.data.add.order.items}" to use as "orderItems" |
||
| 31 | * </code> |
||
| 32 | * |
||
| 33 | * @Given /^grab "([^"]*)" to use as "([^"]*)"$/ |
||
| 34 | */ |
||
| 35 | public function grabToUseAs($value, $name) |
||
| 40 |