function __construct(API_Doc_Abstract $doc, $parameter_name)
 {
     $this->method_name = $doc->name;
     $this->parameter_name = $parameter_name;
     $msg = "Undefined parameter '{$parameter_name}' at '{$doc->filename}[{$doc->start_line}]'.";
     parent::__construct($doc, $msg);
 }
예제 #2
0
 function __construct(API_Doc_Abstract $doc, $tag_name)
 {
     $this->tag_name = $tag_name;
     $msg = "Not supported tag '{$tag_name}' at '{$doc->filename}[{$doc->start_line}]'.";
     parent::__construct($doc, $msg);
 }