Provides seedable methods for database seeding and unit tests.
More...
Provides seedable methods for database seeding and unit tests.
Definition at line 8 of file Seedable.php.
Elgg\Database\Seeds\Seedable::createGroup |
( |
array |
$properties = [] | ) |
|
Create a new fake group.
- Parameters
-
array | $properties | Entity attributes/metadata |
- Returns
Elgg\Database\Seeds\Seedable::createObject |
( |
array |
$properties = [] | ) |
|
Create a new fake object.
- Parameters
-
array | $properties | Entity attributes/metadata |
- Returns
Elgg\Database\Seeds\Seedable::createSite |
( |
array |
$properties = [] | ) |
|
Create a new fake site.
- Parameters
-
array | $properties | Entity attributes/metadata |
- Returns
Elgg\Database\Seeds\Seedable::createUser |
( |
array |
$properties = [] | ) |
|
Create a new fake user.
- Parameters
-
array | $properties | Entity attributes/metadata |
- Returns
The documentation for this interface was generated from the following file: