Searched refs:hasBlock (Results 1 – 5 of 5) sorted by relevance
28 $this->assertTrue($wrapper->hasBlock('foo'));29 $this->assertFalse($wrapper->hasBlock('bar'));33 $this->assertTrue($wrapper->hasBlock('foo'));34 $this->assertTrue($wrapper->hasBlock('imported'));38 $this->assertTrue($wrapper->hasBlock('foo'));39 $this->assertTrue($wrapper->hasBlock('extended'));
70 public function hasBlock($name, $context = []) function in Twig\\TemplateWrapper72 return $this->template->hasBlock($name, $context);
292 public function hasBlock($name, array $context = null, array $blocks = []) function in Twig\\Template309 return $parent->hasBlock($name, $context);
267 public function hasBlock($name) function in Twig\\Parser
39 if ($this->parser->hasBlock($name)) {