Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Apr 27, 2015
1 parent 901c06b commit 484f7d3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| Branch | Status | Composer | [GoPay](http://www.gopay.com/cs) | [Nette](http://www.nette.org) | PHP |
|:---------: |:------: |:--------: |:-------------------------------: |:---------------------------------------------------------------------: |:-------: |
| [master](https://github.com/Markette/Gopay/tree/master) | dev |dev-master | 2.5 | nette/utils: ~2.2 <br> nette/forms: ~2.2 <br> nette/application: ~2.2 | >=5.3.2 |
| gopay-2.5 | wip |wip | 2.5 | - | >=5.3.2 |
| [gopay-2.5](https://github.com/Markette/Gopay/tree/gopay-2.5) | testing |~2.1.0 | 2.5 | nette/utils: ~2.2 <br> nette/forms: ~2.2 <br> nette/application: ~2.2 | >=5.3.2 |
| [gopay-2.3](https://github.com/Markette/Gopay/tree/gopay-2.3) | stable |~2.0.0 | 2.3 | nette/nette: dev-master | >=5.3.2 |
| [gopay-1.9](https://github.com/Markette/Gopay/tree/gopay-1.9) | stable |~1.1.0 | 1.9 | nette/nette: dev-master | >=5.3.2 |

Expand All @@ -20,10 +20,10 @@
Nejjednodušeji stáhněte Gopay přes Composer:

```sh
$ composer require markette/gopay
$ composer require markette/gopay:~2.1.0
```

Pokud nepoužijete Composer, zkopírujte `/Gopay` adresář mezi vaše knihovny - pokud používáte
Pokud nepoužijete Composer, zkopírujte `/src/Gopay` adresář mezi vaše knihovny - pokud používáte
RobotLoader, není nic víc potřeba.

Samotnou knihovnu lze nejsnáze zaregistrovat jako rozšíření v souboru `config.neon`:
Expand Down Expand Up @@ -68,7 +68,9 @@ z platebních tlačítek (tedy jako po zavolání `->onClick[]` na daném tlač
Zvolený kanál lze získat z tlačítka:

```php
public function submittedForm(Markette\Gopay\PaymentButton $button)
use Markette\Gopay;

public function submittedForm(Gopay\PaymentButton $button)
{
$channel = $button->getChannel();
}
Expand Down

0 comments on commit 484f7d3

Please sign in to comment.