コード例 #1
0
 public function __construct($type)
 {
     parent::__construct("The '{$type}' type is not valid.");
     $this->type = $type;
 }
コード例 #2
0
 public function __construct($method)
 {
     parent::__construct("The '{$method}' type is not valid.");
     $this->method = $method;
 }