/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @return void */ public function setUp() { $this->error = false; Helper\Doctype::unsetDoctypeRegistry(); $this->basePath = __DIR__ . '/_files/modules'; $this->view = new View(); $this->view->plugin('doctype')->__invoke('XHTML1_STRICT'); $this->helper = new Helper\HeadMeta(); $this->helper->setView($this->view); }
/** * @return HeadMeta */ public function headMeta() { $this->__initialized__ && $this->__initialized__->__invoke(); if (null === $this->headMeta) { $this->headMeta = new HeadMeta(); $this->headMeta->setView($this->view); } return $this->headMeta; }