User.php

<?php

final class User
{

    public $first_name;
    public $last_name;

    public function getFullName(): string
    {
        return $this->first_name . " " . $this->last_name;
    }

}
Nana Quame Vybes