Skip to content

Commit c612cb0

Browse files
committed
added docbloc
1 parent d409534 commit c612cb0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

templates/php/src/Exception.php.twig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,26 @@ namespace {{ spec.title | caseUcfirst }};
55
use Exception;
66
77
class {{spec.title | caseUcfirst}}Exception extends Exception {
8+
9+
/**
10+
* @var mixed
11+
*/
812
private $response;
913
14+
/**
15+
* @param String $message
16+
* @param int $code
17+
* @param mixed $response
18+
*/
1019
public function __construct($message = null, $code = 0, $response = null)
1120
{
1221
parent::__construct($message, $code);
1322
$this->response = $response;
1423
}
1524
25+
/**
26+
* @return mixed
27+
*/
1628
final public function getResponse()
1729
{
1830
return $this->response;

0 commit comments

Comments
 (0)