\App\ConfigModule\FormsMigrationFormFactory

Configuration migration form factory

Summary

Methods
Properties
Constants
__construct()
create()
import()
export()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$manager
$factory
$presenter
N/A

Properties

$manager

$manager : \App\ConfigModule\Models\MigrationManager

Type

normal — Configuration migration manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\ConfigModule\Presenters\MigrationPresenter

Type

normal — Configuration migration presenter

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\ConfigModule\Models\MigrationManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\ConfigModule\Models\MigrationManager $manager

Configuration migration manager

Returns

mixed

create()

create(\App\ConfigModule\Presenters\MigrationPresenter  $presenter) : \Nette\Application\UI\Form

Creates the configuration migration form

Parameters

\App\ConfigModule\Presenters\MigrationPresenter $presenter

Configuration migration presenter

Returns

\Nette\Application\UI\Form —

Configuration migration form

import()

import(\Nette\Forms\Controls\SubmitButton  $button) : void

Imports the configuration

Parameters

\Nette\Forms\Controls\SubmitButton $button

Configuration import button

Throws

\Nette\Utils\JsonException

export()

export() : void

Exports the configuration