haveManyPostsInDatabase()
public method
Inserts many posts in the database returning their IDs.
public haveManyPostsInDatabase ( integer $count, array $overrides = [] ) : array |
$count |
integer |
The number of posts to insert. |
$overrides |
array |
{
An array of values to override the defaults.
The `{{n}}` placeholder can be used to have the post count inserted in its place;
e.g. `Post Title - {{n}}` will be set to `Post Title - 0` for the first post,
`Post Title - 1` for the second one and so on.
The same applies to meta values as well. |
return |
array |
|