<?php
namespace Modules\Index\Rules;

use Psr\Http\Message\ServerRequestInterface;

// @phpcs:ignore
class TableauDeBord
{
    /** @var ServerRequestInterFace $request */
    protected ServerRequestInterface $request;
    
    /** @var \PDO $pdo */
    protected \PDO $pdo;
    
    public function __construct(ServerRequestInterface $request, \PDO $pdo)
    {
        $this->request  = $request;
        $this->pdo      = $pdo;
    }


    /**
     * @return bool
     */
    public function index(): bool
    {
        return true;
    }

    /**
     * @return bool
     */
    public function favoris(): bool
    {
        return true;
    }
}
