Using class as a name of a constant is available in PHP 5.5 only.
To get the class name you can replace VisiteMaisonInvestisseur::class with get_class(new VisiteMaisonInvestisseur).
Or change the name of the constant. For example: VisiteMaisonInvestisseur::class_name.