Skip to content

Commit

Permalink
Updated (synced) pt_BR readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
williamokano committed Feb 16, 2017
1 parent cbbe1ef commit 4e6893f
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 4e6893f

Please sign in to comment.