Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
793d2529
Commit
793d2529
authored
Jul 21, 2013
by
Luciano Baraglia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fix [skip ci]
parent
203f4bfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
HelloController.php
apps/basic/commands/HelloController.php
+4
-5
No files found.
apps/basic/commands/HelloController.php
View file @
793d2529
...
@@ -9,21 +9,21 @@ namespace app\commands;
...
@@ -9,21 +9,21 @@ namespace app\commands;
use
yii\console\Controller
;
use
yii\console\Controller
;
/**
/**
* This command echos what the first argument that you have entered.
* This command echo
e
s what the first argument that you have entered.
*
*
* This command is provided as an example for you to learn how to create console commands.
* This command is provided as an example for you to learn how to create console commands.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
HelloController
extends
Controller
class
HelloController
extends
Controller
{
{
/**
/**
* This command echos what you have entered as the message.
* This command echo
e
s what you have entered as the message.
* @param string $message the message to be echoed.
* @param string $message the message to be echoed.
*/
*/
public
function
actionIndex
(
$message
=
'hello world'
)
public
function
actionIndex
(
$message
=
'hello world'
)
{
{
echo
$message
.
"
\n
"
;
echo
$message
.
"
\n
"
;
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment