mirror of
https://github.com/friendica/friendica
synced 2025-04-25 23:10:12 +00:00
Changed scope
This commit is contained in:
parent
ec5bd9a756
commit
57353eb9b0
33 changed files with 95 additions and 91 deletions
|
@ -31,11 +31,21 @@ use Exception;
|
|||
*/
|
||||
abstract class HTTPException extends Exception
|
||||
{
|
||||
public $httpdesc = '';
|
||||
public $explanation = '';
|
||||
protected $httpdesc = '';
|
||||
protected $explanation = '';
|
||||
|
||||
public function __construct($message = '', Exception $previous = null)
|
||||
{
|
||||
parent::__construct($message, $this->code, $previous);
|
||||
}
|
||||
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->httpdesc;
|
||||
}
|
||||
|
||||
public function getExplanation()
|
||||
{
|
||||
return $this->explanation;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue