src/Handlers/GenericFileHandler.php
/**
     * Remove's the passed line from the file with the passed name.
     *
     * @param string $line     The line to be removed
     * @param string $filename The name of the file the line has to be removed from
     *
     * @return void
     * @throws \TechDivision\Import\Exceptions\LineNotFoundException Is thrown, if the requested line can not be found in the file
     * @throws \Exception Is thrown, if the file can not be written, after the line has been removed
     * @see \TechDivision\Import\Handlers\GenericFileHandlerInterface::removeLineFromFile()
     */
Remove's the passed line from the file with the passed name.
@param string $line     The line to be removed
@param string $filename The name of the file the line has to be removed from


Remove ' s the passed line from the file with the passed name . @param string $line The line to be removed @param string $filename The name of the file the line has to be removed from
public function removeLineFromFilename(string $line, string $filename) : void
    {
        $fh = fopen($filename, 'r+');
        $this->removeLineFromFile($line, $fh);
        fclose($fh);
    }
public function removeLineFromFilename ( string $ line , string $ filename ) : void { $ fh = fopen ( $ filename , 'r+' ) ; $ this -> removeLineFromFile ( $ line , $ fh ) ; fclose ( $ fh ) ; }
Remove's the passed line from the file with the passed name.
Remove ' s the passed line from the file with the passed name .