/** * */ public function runTemplate() { $this->req->onWakeup(); if (isset($this->template)) { $this->executeTemplate(); $this->getNestedBlocks(); } $req = $this->req; if ($this->readyBlocks >= $this->numBlocks) { $this->execute(); } $req->onSleep(); }