Esempio n. 1
0
 /**
  * Render the template store specified by the 'name' argument.
  *
  * @return string
  */
 public function render()
 {
     return $this->store->get($this->arguments['name']);
 }
Esempio n. 2
0
 /**
  * Store the tag children in the template store, and don't render anything
  * directly.
  *
  * @return string
  */
 public function render()
 {
     $this->store->append($this->arguments['name'], $this->renderChildren());
     return '';
 }