/** * Set the name of the class which is supposed to be used * This also includes the file * @param string The class name */ public static function setClassName($name) { Swift_ClassLoader::load($name); self::$className = $name; }