How to access model in web/css/ folder

Dear Friends,

It is possible to access model in web/css/custom.php file.How to get findall values on custom.php file.Please any one can help me…

$customer = app\models\WebsiteSettings::find()

    ->where(['id' => 1])


Above code i try to use but showing error.

Having a model in web/css sounds like a questionable approach.