예제 #1
0
 function __construct($name = null, VulnerableElement $vulnTree = null)
 {
     $this->name = $name;
     $this->vulnTree = $vulnTree ?: VulnerableElement::create();
     $this->vulnTree->setHost($this);
 }