예제 #1
0
 public function __construct(Chain $child = null, $name = "", $type = "")
 {
     $this->child = $child;
     $this->name = $name;
     $this->type = $type;
     if ($child instanceof Chain) {
         $child->setParent($this);
     }
 }