NerdsAndCompany\Schematic\Console\App::_setSchematicComponents PHP Метод

_setSchematicComponents() приватный Метод

Sets the schematic components.
    private function _setSchematicComponents()
    {
        $components = ['schematic' => ['class' => Service\Schematic::class], 'schematic_locales' => ['class' => Service\Locales::class], 'schematic_assetSources' => ['class' => Service\AssetSources::class], 'schematic_fields' => ['class' => Service\Fields::class], 'schematic_globalSets' => ['class' => Service\GlobalSets::class], 'schematic_plugins' => ['class' => Service\Plugins::class], 'schematic_sections' => ['class' => Service\Sections::class], 'schematic_userGroups' => ['class' => Service\UserGroups::class], 'schematic_users' => ['class' => Service\Users::class], 'schematic_categoryGroups' => ['class' => Service\CategoryGroups::class], 'schematic_tagGroups' => ['class' => Service\TagGroups::class]];
        // Element index settings are supported from Craft 2.5
        if (version_compare(CRAFT_VERSION, '2.5', '>=')) {
            $components['schematic_elementIndexSettings'] = ['class' => Service\ElementIndexSettings::class];
        }
        $this->setComponents($components);
    }