2012-03-08 20:59:02 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Composer.
|
|
|
|
*
|
|
|
|
* (c) Nils Adermann <naderman@naderman.de>
|
|
|
|
* Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Composer\Downloader;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
*/
|
2014-02-25 12:34:39 +00:00
|
|
|
class TransportException extends \RuntimeException
|
2012-03-08 20:59:02 +00:00
|
|
|
{
|
2012-10-18 14:02:24 +00:00
|
|
|
protected $headers;
|
|
|
|
|
|
|
|
public function setHeaders($headers)
|
|
|
|
{
|
|
|
|
$this->headers = $headers;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getHeaders()
|
|
|
|
{
|
|
|
|
return $this->headers;
|
|
|
|
}
|
2012-03-08 20:59:02 +00:00
|
|
|
}
|