mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
v1.2.7.416
This commit is contained in:
parent
54e2645fcf
commit
3b27abbe9a
434 changed files with 51 additions and 72 deletions
|
|
@ -1,62 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Buzz\Client;
|
||||
|
||||
abstract class AbstractClient implements ClientInterface
|
||||
{
|
||||
protected $ignoreErrors = true;
|
||||
protected $maxRedirects = 5;
|
||||
protected $timeout = 5;
|
||||
protected $verifyPeer = true;
|
||||
protected $proxy;
|
||||
|
||||
public function setIgnoreErrors($ignoreErrors)
|
||||
{
|
||||
$this->ignoreErrors = $ignoreErrors;
|
||||
}
|
||||
|
||||
public function getIgnoreErrors()
|
||||
{
|
||||
return $this->ignoreErrors;
|
||||
}
|
||||
|
||||
public function setMaxRedirects($maxRedirects)
|
||||
{
|
||||
$this->maxRedirects = $maxRedirects;
|
||||
}
|
||||
|
||||
public function getMaxRedirects()
|
||||
{
|
||||
return $this->maxRedirects;
|
||||
}
|
||||
|
||||
public function setTimeout($timeout)
|
||||
{
|
||||
$this->timeout = $timeout;
|
||||
}
|
||||
|
||||
public function getTimeout()
|
||||
{
|
||||
return $this->timeout;
|
||||
}
|
||||
|
||||
public function setVerifyPeer($verifyPeer)
|
||||
{
|
||||
$this->verifyPeer = $verifyPeer;
|
||||
}
|
||||
|
||||
public function getVerifyPeer()
|
||||
{
|
||||
return $this->verifyPeer;
|
||||
}
|
||||
|
||||
public function setProxy($proxy)
|
||||
{
|
||||
$this->proxy = $proxy;
|
||||
}
|
||||
|
||||
public function getProxy()
|
||||
{
|
||||
return $this->proxy;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue