private function formatClass($method) { $method = ucfirst($method); $class = "SimpleSoftwareIO\\QrCode\\DataTypes\\" . $method; return $class; }