<?php

/*
 * This file is part of Flarum.
 *
 * (c) Toby Zerner <toby.zerner@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Flarum\Settings\Event;

/**
 * Prepare settings for display in the client.
 *
 * This event is fired when settings have been retrieved from the database and
 * are being unserialized for display in the client.
 */
class Deserializing
{
    /**
     * The settings array to be unserialized.
     *
     * @var array
     */
    public $settings;

    /**
     * @param array $settings The settings array to be unserialized.
     */
    public function __construct(&$settings)
    {
        $this->settings = &$settings;
    }
}
