Mercurial > hg > cmmr2012-drupal-site
view core/lib/Drupal/Core/Archiver/ArchiveTar.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line source
<?php namespace Drupal\Core\Archiver; /** * Extends Pear's Archive_Tar to use exceptions. */ class ArchiveTar extends \Archive_Tar { /** * {@inheritdoc} */ public function _error($p_message) { throw new \Exception($p_message); } /** * {@inheritdoc} */ public function _warning($p_message) { throw new \Exception($p_message); } }