public static function factory($phone_type) { $type = $phone_type . "Page"; self::$phoneType = $phone_type; return new $type(); }