src/Template/Blocks/Block.php
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;
		}
	}
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;
		}
	}
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 ; } }
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".
Set extended template and data .