<?php
namespace Controller;
 
use Core\Template;
 
class League extends AbstractController
{
    public function __construct()
    {
        parent::__construct(new Template());
    }
 
    public function indexMethod()
    {
        return parent::getView(
            __METHOD__ ,
            [
                'title' => MODULE_NAME.' - Home',
                'header' => 'League list',
                'league_list' => 'A B C',
            ]
        );
 
    }
}