PHP Class Carbon_Fields\Datastore\Datastore
Defines the key datastore methods and their default implementations.
Show file
Open project: htmlburger/carbon-fields
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( ) |
Initialize the datastore. |
|
factory ( string $type ) : Datastore |
Create a new datastore of type $type. |
|
init ( ) |
Initialization tasks for concrete datastores. |
|
make ( $type ) |
An alias of factory(). |
|
Method Details
__construct()
public method
Initialize the datastore.
factory()
public static method
Create a new datastore of type $type.
init()
abstract public method
Initialization tasks for concrete datastores.
make()
public static method
public static make ( $type ) |