Avoid Methods and Functions directly access to database tables (PHP) | CAST Appmarq