protected function checkMonth($accountId, \DateTimeImmutable $date)
    {
        $mapper = new BudgetMapper(Database::get('money'));
        $budgetMonthMapper = new BudgetMonthMapper(Database::get('money'));

        $budgetMonthMapper->check($mapper->findAllByAccountId($accountId), $date);
    }
protected function checkMonth($accountId, \DateTimeImmutable $date)
    {
        $mapper = new BudgetMapper(Database::get('money'));
        $budgetMonthMapper = new BudgetMonthMapper(Database::get('money'));

        $budgetMonthMapper->check($mapper->findAllByAccountId($accountId), $date);
    }
protected function checkMonth ( $ accountId , \ DateTimeImmutable $ date ) { $ mapper = new BudgetMapper ( Database :: get ( 'money' ) ) ; $ budgetMonthMapper = new BudgetMonthMapper ( Database :: get ( 'money' ) ) ; $ budgetMonthMapper -> check ( $ mapper -> findAllByAccountId ( $ accountId ) , $ date ) ; }
Check for budget month.

@param  int $accountId
@param  \DateTimeImmutable $date
@return void
Check for budget month .