示例#1
0
 /**
  * @param Floor $floor
  * @return Resident
  */
 public static function createOnTheFloor(Floor $floor)
 {
     $resident = new Resident();
     $resident->setCurrentFloor($floor);
     return $resident;
 }