File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ You should see the following output:
4848
4949 Hello world.
5050
51- > [ !NOTE ]
52- > The ` Arguments ` and ` ConsoleIo ` instances passed to ` execute() ` are also
53- > available as ` $this->args ` and ` $this->io ` on the command instance. This
54- > lets any method in your command access them without needing them as
55- > parameters. In 6.x, the ` execute() ` method signature will change to
56- > ` execute(): int ` and ` $this->args ` / ` $this->io ` will be the only way to
57- > access these objects. See the
58- > [ 6.x command refactor ] ( https://github.com/cakephp/cakephp/pull/18983 ) for
59- > details.
51+ ::: info
52+ The ` Arguments ` and ` ConsoleIo ` instances passed to ` execute() ` are also
53+ available on the command instance as ` $this->args ` and ` $this->io ` .
54+ In 6.x, the ` execute() ` method signature will drop these arguments
55+ and ` $this->args ` / ` $this->io ` will be the only way to access
56+ these objects. See the
57+ [ 6.x command refactor ] ( https://github.com/cakephp/cakephp/pull/18983 ) for
58+ details.
59+ :::
6060
6161Our ` execute() ` method isn't very interesting let's read some input from the
6262command line:
You can’t perform that action at this time.
0 commit comments