\MockDBField
Synopsis
class MockDBField
extends DataExtension
{
- // methods
- public string getFakeData()
- public boolean hook()
Hierarchy
Extends
- DataExtension
Methods
public
- getFakeData() — Ensures that every DBField can have getFakeData() called on it. Future proofing.
- hook() — For field types that can contain a variety of data, e.g. Varchar, this method informs the Faker\Generator object what kind of data to generate based on the name of the field.