interface Creatable

Represents a resource that can be created.

Methods

create (array $userOptions) : Creatable

Create a new resource according to the configuration set in the options.

Details

create(array $userOptions)

Create a new resource according to the configuration set in the options.

Parameters

$userOptions array

Return value

Creatable

Example code

$creatable = $creatable->create($userOptions);