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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
319d0aef
Commit
319d0aef
authored
Jan 03, 2014
by
Mark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quotation added.
parent
1bf1a34f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
extensions/yii/faker/README.md
+2
-2
No files found.
extensions/yii/faker/README.md
View file @
319d0aef
...
...
@@ -49,7 +49,7 @@ return [
'table_columnN+1'
=>
function
(
$fixture
,
$faker
,
$index
)
{
//set needed fixture fields based on different conditions
$fixture
[
'
body
]
=
$faker
->
sentence
(
7
,
true
);
#generate sentence exact with 7 words.
$fixture
[
'body
'
]
=
$faker
->
sentence
(
7
,
true
);
#generate sentence exact with 7 words.
return
$fixture
;
}
],
...
...
@@ -143,7 +143,7 @@ class Book extends \Faker\Provider\Base
}
```
You can use it by adding it to the
$providers
property of the current command. In your console.php config:
You can use it by adding it to the
```$providers```
property of the current command. In your console.php config:
```
php
'controllerMap'
=>
[
...
...
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