original_string: public function extend($template, $data = [], $paramName = 'body') {
  		$this->extendedTemplate = $this->resolveTemplatePath($template);
  		if (is_array($data)) {
  			$this->extendedData = $data;
  		}
  		if (is_string($paramName) && $paramName) {
  			$this->extendedParamName = $paramName;
  		}
  	}
code: public function extend($template, $data = [], $paramName = 'body') {
  		$this->extendedTemplate = $this->resolveTemplatePath($template);
  		if (is_array($data)) {
  			$this->extendedData = $data;
  		}
  		if (is_string($paramName) && $paramName) {
  			$this->extendedParamName = $paramName;
  		}
  	}
code_tokens: public function extend ( $ template , $ data = [ ] , $ paramName = 'body' ) { $ this -> extendedTemplate = $ this -> resolveTemplatePath ( $ template ) ; if ( is_array ( $ data ) ) { $ this -> extendedData = $ data ; } if ( is_string ( $ paramName ) && $ paramName ) { $ this -> extendedParamName = $ paramName ; } }
docstring: Set extended template and data.
  
  @param string $template
  @param array $data Optional.
  @param string $paramName Optional. Variable name of the variable storing the content of this block, default to "body".
docstring_tokens: Set extended template and data .