public function addVariable(string $name, ?string $type, ?bool $dynamic): KBEntry
    {
        $kbe          = new KBEntry($name, $type, $dynamic);
        $this->vars[] = $kbe;
        return $kbe;
    }
public function addVariable(string $name, ?string $type, ?bool $dynamic): KBEntry
    {
        $kbe          = new KBEntry($name, $type, $dynamic);
        $this->vars[] = $kbe;
        return $kbe;
    }
public function addVariable ( string $ name , ? string $ type , ? bool $ dynamic ) : KBEntry { $ kbe = new KBEntry ( $ name , $ type , $ dynamic ) ; $ this -> vars [ ] = $ kbe ; return $ kbe ; }
Add a variable

@param string      $name    The name
@param string|null $type    The type
@param bool|null   $dynamic Is dynamic
@return KBEntry The newly created KBEntry
Add a variable