public function appendName($keyValue, $content, $modifiers = array()) { if (!$this->_locked) { parent::appendName($keyValue, $content, $modifiers); } return $this; }
public function testIndentationIsHonored() { $this->helper->setIndent(4); $this->helper->appendName('keywords', 'foo bar'); $this->helper->appendName('seo', 'baz bat'); $string = $this->helper->toString(); $scripts = substr_count($string, ' <meta name='); $this->assertEquals(2, $scripts); }