Airship\Installer\Install::finalize PHP Method

finalize() protected method

Finalize the install process
protected finalize ( array $post = [] )
$post array
    protected function finalize(array $post = [])
    {
        $state = State::instance();
        $this->data['admin']['username'] = $post['username'];
        if (!empty($post['passphrase'])) {
            // Password was changed:
            $this->data['admin']['passphrase'] = Password::hash($post['passphrase'], $state->keyring['auth.password_key']);
        }
        $this->data['cabins'] = $post['cabin'];
        $this->data['config'] = $post['config'];
        $this->data['database'] = $post['database'];
        $this->finalConfiguration();
        $this->finalDatabaseSetup();
        $this->finalProcessAdminAccount();
        $this->finalShutdown();
    }