in PHP (using constructors, annotations, configurations)