Skip to content

Commit 8b720af

Browse files
committed
Update user guide
1 parent 2fcccd5 commit 8b720af

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎guide/index.rst‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Create a file (**cli.php**) with the following contents:
2929
<?php
3030
require __DIR__ . '/vendor/autoload.php';
3131
32-
use Framework\CLI\Console;
32+
use Aplus\Cli\Console;
3333
3434
$console = new Console();
3535
$console->run(); // void
@@ -52,8 +52,8 @@ Edit the PHP file:
5252

5353
.. code-block:: php
5454
55-
use Framework\CLI\Console;
56-
use Framework\Language\Language;
55+
use Aplus\Cli\Console;
56+
use Aplus\Language\Language;
5757
5858
$language = new Language('pt-br');
5959
@@ -81,15 +81,15 @@ Edit the PHP file:
8181

8282
.. code-block:: php
8383
84-
use Framework\CLI\CLI;
85-
use Framework\CLI\Command;
86-
use Framework\CLI\Console;
84+
use Aplus\Cli\Cli;
85+
use Aplus\Cli\Command;
86+
use Aplus\Cli\Console;
8787
8888
class HelloCommand extends Command
8989
{
9090
public function run() : void
9191
{
92-
CLI::write('Hello, Aplus!');
92+
Cli::write('Hello, Aplus!');
9393
}
9494
}
9595

0 commit comments

Comments
 (0)