Skip to content

Commit

Permalink
Merge pull request #62 from williamokano/readme-update
Browse files Browse the repository at this point in the history
Updated (synced) pt_BR readme.md
  • Loading branch information
AydinHassan authored Feb 16, 2017
2 parents cbbe1ef + 4e6893f commit 9e7c884
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/pt_BR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ Você também pode interagir com os itens do menu dentro de uma ação:
```php
use PhpSchool\CliMenu\MenuItem\LineBreakItem;
require_once(__DIR__ . '/../vendor/autoload.php');
$itemCallable = function (CliMenu $menu) {
foreach ($menu->getItems() as $item) {
$menu->removeItem($item);
Expand Down Expand Up @@ -433,6 +435,8 @@ diferenciada do menu principal por padrão. Pode ser modificado para se encaixar
use PhpSchool\CliMenu\CliMenu;
use PhpSchool\CliMenu\CliMenuBuilder;
require_once(__DIR__ . '/../vendor/autoload.php');
$itemCallable = function (CliMenu $menu) {
$flash = $menu->flash("PHP School FTW!!");
$flash->getStyle()->setBg('green');
Expand Down

0 comments on commit 9e7c884

Please sign in to comment.