I changed the class to be the entire barbershop:
class Barbershop{
function customer($customer){
Switch($customer){
case: "room is not full"
$customer = "take a chair";
break;
  case:   "full"
$customer= come back later;
break;
}
return $customer
}
function Barber($customer){
if $customer in chair
$Barber= cut hair;
elseif $customer in waitingroom
$Barber= fetch customer && cut hair;
else
$Barber= daydream;
}
return $Barber;
}
}```````class Barbershop{
function customer($customer){
Switch($customer){
case: "room is not full"
$customer = "take a chair";
break;
  case:   "full"
$customer= come back later;
break;
}
return $customer
}
function Barber($customer){
if $customer in chair
$Barber= cut hair;
elseif $customer in waitingroom
$Barber= fetch customer && cut hair;
else
$Barber= daydream;
}
return $Barber;
}
}