<?php

namespace models;

/**
 * Interface ISettings
 * @package models
 */
interface ISettings
{
    /**
     * @param array $data
     * @return mixed
     */
    public function validate(array $data);

    /**
     * @return array
     */
    public function getAll();

    /**
     * @param array $data
     * @return mixed
     */
    public function update(array $data);

    /**
     * @return boolean
     */
    public function makeBackup();
}
