public function setLocalFile(string $filename): void
    {
        if (empty($filename)) {
            throw new Exception('the filename can not be empty', Exception::LOCAL_FILE_MISSING);
        }

        $this->localFile = $filename;
        $this->loader    = null;
    }
public function setLocalFile(string $filename): void
    {
        if (empty($filename)) {
            throw new Exception('the filename can not be empty', Exception::LOCAL_FILE_MISSING);
        }

        $this->localFile = $filename;
        $this->loader    = null;
    }
public function setLocalFile ( string $ filename ) : void { if ( empty ( $ filename ) ) { throw new Exception ( 'the filename can not be empty' , Exception :: LOCAL_FILE_MISSING ) ; } $ this -> localFile = $ filename ; $ this -> loader = null ; }
sets the name of the local file

@param string $filename the file name

@throws \FileLoader\Exception

@return void
sets the name of the local file