<?php

/**
 * Questo file è parte di Pongho.
 *
 * @author    Daniele De Nobili
 * @copyright Web Agency Meta Line S.r.l.
 * @package   Application\Admin
 */

namespace Application\Admin\Widgets;

use Pongho\Http\Request;
use Pongho\Http\Response;

/**
 * WidgetInterface
 */
interface WidgetInterface
{
    /**
     * @return string
     */
    public function getKey();

    /**
     * @return string
     */
    public function getTitle();

    /**
     * @return string
     */
    public function getContent();

    /**
     * @return int
     */
    public function getColumns();

    /**
     * @return Response
     */
    public function handleRequest(Request $request);
}
