PHP Class NerdsAndCompany\Schematic\ConsoleCommands\ExportCommand

Sync Craft Setups.
Author: Nerds & Company
Inheritance: extends Craft\BaseCommand
显示文件 Open project: itmundi/schematic

Public Methods

Method Description
actionIndex ( string $file = 'craft/config/schema.yml', array $exclude = null ) : integer Exports the Craft datamodel.

Method Details

actionIndex() public method

Exports the Craft datamodel.
public actionIndex ( string $file = 'craft/config/schema.yml', array $exclude = null ) : integer
$file string file to write the schema to
$exclude array Data to not export
return integer