PHP Class Carbon_Fields\Datastore\Datastore

Defines the key datastore methods and their default implementations.
Inheritance: implements Carbon_Fields\Datastore\Datastore_Interface
Afficher le fichier Open project: htmlburger/carbon-fields Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Initialize the datastore.
public __construct ( )

factory() public static méthode

Create a new datastore of type $type.
public static factory ( string $type ) : Datastore
$type string
Résultat Datastore $datastore

init() abstract public méthode

Initialization tasks for concrete datastores.
abstract public init ( )

make() public static méthode

An alias of factory().
See also: Datastore::factory()
public static make ( $type )