<?php

namespace idoit\Module\Pro\Controller;

use Exception;
use idoit;
use idoit\Controller\Base;
use idoit\Tree\Node;
use isys_application as Application;
use isys_component_tree as Tree;
use isys_controller as Controller;
use isys_module as Module;
use isys_register as Register;

/**
 * i-doit pro controller
 *
 * @package     Modules
 * @copyright   synetics GmbH
 * @license     http://www.i-doit.com/license
 */
class Main extends Base implements Controller
{
    /**
     * @var Module
     */
    protected $module;

    /**
     * @inheritDoc
     */
    public function __construct(Module $module)
    {
        $this->module = $module;
    }

    /**
     * @inheritDoc
     */
    public function handle(Register $request, Application $application)
    {
        // nothing to do
    }

    /**
     * @inheritDoc
     */
    public function dao(Application $p_application)
    {
        // nothing to do
    }

    /**
     * @inheritDoc
     */
    public function tree(Register $request, Application $application, Tree $tree)
    {
        // nothing to do
    }
}
