public function setFileClassname($classname = null)
    {
        if ($classname === null) {
            $this->fileClass = null;
        }
        elseif ( ! class_exists($classname)) {
            throw ClassDoesNotExistException::create($classname);
        }
        else {
            $this->fileClass = (string) $classname;
        }
        return $this;
    }
public function setFileClassname($classname = null)
    {
        if ($classname === null) {
            $this->fileClass = null;
        }
        elseif ( ! class_exists($classname)) {
            throw ClassDoesNotExistException::create($classname);
        }
        else {
            $this->fileClass = (string) $classname;
        }
        return $this;
    }
public function setFileClassname ( $ classname = null ) { if ( $ classname === null ) { $ this -> fileClass = null ; } elseif ( ! class_exists ( $ classname ) ) { throw ClassDoesNotExistException :: create ( $ classname ) ; } else { $ this -> fileClass = ( string ) $ classname ; } return $ this ; }
Set file classname

If set, an instance of the class will be created for each file during
iteration. It is that object that will be added to the FileBag.

@param null|string $classname The classname of the File objects to create
@return self
@see getFileClassname
@throws ClassDoesNotExistException If $classname does not exist.
Set file classname