protected function cleanup(array $files = array())
    {
        if (empty($files)) {
            return $this;
        }
        foreach ($files as $file) {
            if (!file_exists($file->name)) {
                continue;
            }
            unlink($file->name);
        }
        return $this;
    }
protected function cleanup(array $files = array())
    {
        if (empty($files)) {
            return $this;
        }
        foreach ($files as $file) {
            if (!file_exists($file->name)) {
                continue;
            }
            unlink($file->name);
        }
        return $this;
    }
protected function cleanup ( array $ files = array ( ) ) { if ( empty ( $ files ) ) { return $ this ; } foreach ( $ files as $ file ) { if ( ! file_exists ( $ file -> name ) ) { continue ; } unlink ( $ file -> name ) ; } return $ this ; }
deletes files from temporary directory

@param array $files
@return \Antares\Logger\Adapter\CurlAdapter
deletes files from temporary directory