$bih = new Country('Bosnia and Herzegovina')
$bihac = new City('Bihać', $bih);
$milan = new Person(
firstName: 'Milan',
lastName: 'Miščević',
birthDate: new DateTimeImmutable('1985-10-11 23:00:00'),
birthLocation: $bihac,
);
$banjaluka = new City('Banja Luka', $bih);
$milan->moveTo($banjaluka); // 1992
$turboPascal = new ProgrammingLanguage('Turbo Pascal');
$php = new ProgrammingLanguage('PHP');
$milan->learn($turboPascal); // 2001, the first programming language
$milan->learn($php); // 2003, the first web development steps
$etf = new Faculty('Faculty of Electrical Engineering', $banjaluka);
$etf->enroll($milan); // 2004
$etf->graduate($milan); // 2010, engineer's degree
$etf->graduate($milan); // 2020, master's degree
$inRecursion = new Agency('inRecursion', $banjaluka);
$milan->start($inRecursion); // 2015
$milan->close($inRecursion); // 2021
$germany = new Country('Germany');
$berlin = new City('Berlin', $germany);
$milan->moveTo($berlin); // 2021
- Berlin, Germany
- @try_throw_catch
Block or Report
Block or report milan-miscevic
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.