How do you explicitly cast an object to another type of object with the same parent class?

TechnicalSenior php developerPHP DeveloperWeb DeveloperSoftware Engineer