aide-travaux/anah-categorie

Aide travaux - Anah - 分类

v2.1.1 2020-02-06 18:47 UTC

This package is auto-updated.

Last update: 2024-09-11 20:48:26 UTC


README

简介

AnahCategorie 类返回关于国家住房署资源类别的所有相关信息

方法

AnahCategorie::get(int $ressources, int $compositionFoyer, string $codeRegion): ?string

根据国家住房署(ANAH)返回资源类别

AnahCategorie::getPlafond(int $compositionFoyer, string $codeRegion): ?string

返回国家住房署(ANAH)的资源上限

AnahCategorie::getPlafondTresModeste(int $compositionFoyer, string $codeRegion): ?string

返回“非常低”类别的资源上限

参数列表

ressources

家庭的财政资源

compositionFoyer

家庭组成

codeRegion

地区代码

示例

<?php>

use AideTravaux\Anah\Categorie\AnahCategorie;

AnahCategorie::get( 20000, 2, "11" );
// "Très modeste"

AnahCategorie::getPlafond( 2, "11" );
// 36792 

AnahCategorie::getPlafondTresModeste( 2, "11" );
// 30225

来源