PHP Class NerdsAndCompany\Schematic\ConsoleCommands\ImportCommand

Sync Craft Setups.
Author: Nerds & Company
Inheritance: extends Craft\BaseCommand
Afficher le fichier Open project: itmundi/schematic

Méthodes publiques

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

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
Résultat integer