<?php
namespace Engine\Dashboard;

interface StorageInterface
{
	/**
	 * Saves the $dashboard dashboard into the database.
	 * @param String $key
	 * @param \Engine\Dashboard\GeneralAbstract $dashboard
	 */
	public function set($key, \Engine\Dashboard\GeneralAbstract $dashboard);

	/**
	 * Gets the content of the $section dashboard and returns the dashboard object
	 * @param String $section
	 * @return \Engine\Dashboard\GeneralAbstract
	 */
	public function get($key);

}