Skip to content

1.1.6

Choose a tag to compare

@koriym koriym released this 28 Oct 05:42
· 1842 commits to 1.x since this release

This release fix the issue for herf() in ResourceObject.

Hyper link method can use with last invoked resource. as well as in same resource.

/**
 * @Link(rel="payment", href="app://self/payment{?order_id, credit_card_number}", method="put")
 */
public function onPost($drink)
{
    $payment = ['order_id' => $orderId, ' credit_card_number' => $card];
    $this->href('payment', $payment);