public function addTimer($name, $code, $priority = 5, $inline = false) {
        $timer = new Timer();
        $timer->setName($name)
               ->setCode($code)
               ->setPriority($priority)
               ->setInline($inline);
        $this->builder->addEvent($timer);
        return $this;
    }