public function append($filename, $content)
    {
        if ($this->exists($filename) && $this->isFile($filename)) {
            return file_put_contents($filename, $content, FILE_APPEND);
        }

        throw new FileNotFoundException('File not found in the path [ ' . $filename . ' ].');
    }
public function append($filename, $content)
    {
        if ($this->exists($filename) && $this->isFile($filename)) {
            return file_put_contents($filename, $content, FILE_APPEND);
        }

        throw new FileNotFoundException('File not found in the path [ ' . $filename . ' ].');
    }
public function append ( $ filename , $ content ) { if ( $ this -> exists ( $ filename ) && $ this -> isFile ( $ filename ) ) { return file_put_contents ( $ filename , $ content , FILE_APPEND ) ; } throw new FileNotFoundException ( 'File not found in the path [ ' . $ filename . ' ].' ) ; }
To append file

@param string $filename
@param string $content

@return int
@throws FileNotFoundException
To append file