PHP Class NerdsAndCompany\Schematic\ConsoleCommands\ImportCommand

Sync Craft Setups.
Author: Nerds & Company
Inheritance: extends Craft\BaseCommand
Show file Open project: itmundi/schematic

Public Methods

Method Description
actionIndex ( string $file = 'craft/config/schema.yml', string $override_file = 'craft/config/override.yml', boolean $force = false ) : integer Imports the Craft datamodel.

Method Details

actionIndex() public method

Imports the Craft datamodel.
public actionIndex ( string $file = 'craft/config/schema.yml', string $override_file = 'craft/config/override.yml', boolean $force = false ) : integer
$file string yml file containing the schema definition
$override_file string yml file containing the override values
$force boolean if set to true items not in the import will be deleted
return integer