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
ef2d0990
Commit
ef2d0990
authored
Jul 21, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #645 from lucianobaraglia/master
Typo fix [skip ci]
parents
203f4bfe
793d2529
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 @
ef2d0990
...
...
@@ -9,21 +9,21 @@ namespace app\commands;
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.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
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.
*/
public
function
actionIndex
(
$message
=
'hello world'
)
{
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