<?php

namespace ModulesGarden\OpenXchangeAddon\App\Http\Admin;

use ModulesGarden\OpenXchangeAddon\Core\Http\AbstractController;
use ModulesGarden\OpenXchangeAddon\Core\Helper;

/**
 * Example admin home page controler
 * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
 */
class Home extends AbstractController
{
    
    /**
     * Example of static page
     * @return \ModulesGarden\OpenXchangeAddon\Core\UI\View
     */
    public function index()
    {
        return Helper\view()
                        ->addElement(\ModulesGarden\OpenXchangeAddon\App\UI\Admin\Home\Pages\HomePage::class);
    }
}
