Elgg  Version master
Seedable.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Database\Seeds;
4 
8 interface Seedable {
9 
17  public function createUser(array $properties = []);
18 
26  public function createGroup(array $properties = []);
27 
35  public function createObject(array $properties = []);
36 
44  public function createSite(array $properties = []);
45 }
createObject(array $properties=[])
Create a new fake object.
createUser(array $properties=[])
Create a new fake user.
createGroup(array $properties=[])
Create a new fake group.
createSite(array $properties=[])
Create a new fake site.
Provides seedable methods for database seeding and unit tests.
Definition: Seedable.php:8