public function __construct($pesel) { $gender = new Gender($pesel); $gender->printOut(); $birth = new Birth($pesel); $birth->printOut(); }