public function processFile($src, $dst, $vars) {
		if(!$this->overrideFiles && file_exists($dst))
			return;
		$container = $this->container;

		$_src = $src;
		$_dst = $dst;
		extract($vars);

		ob_start();
		include $_src;
		$content = ob_get_contents();
		ob_end_clean();

		$content = str_replace('<%=', '<?=', $content);
		$content = str_replace('<%', '<?php', $content);
		$content = str_replace('%>', '?>', $content);

		\Asgard\File\FileSystem::write($_dst, $content);
	}
public function processFile($src, $dst, $vars) {
		if(!$this->overrideFiles && file_exists($dst))
			return;
		$container = $this->container;

		$_src = $src;
		$_dst = $dst;
		extract($vars);

		ob_start();
		include $_src;
		$content = ob_get_contents();
		ob_end_clean();

		$content = str_replace('<%=', '<?=', $content);
		$content = str_replace('<%', '<?php', $content);
		$content = str_replace('%>', '?>', $content);

		\Asgard\File\FileSystem::write($_dst, $content);
	}
public function processFile ( $ src , $ dst , $ vars ) { if ( ! $ this -> overrideFiles && file_exists ( $ dst ) ) return ; $ container = $ this -> container ; $ _src = $ src ; $ _dst = $ dst ; extract ( $ vars ) ; ob_start ( ) ; include $ _src ; $ content = ob_get_contents ( ) ; ob_end_clean ( ) ; $ content = str_replace ( '<%=' , '<?=' , $ content ) ; $ content = str_replace ( '<%' , '<?php' , $ content ) ; $ content = str_replace ( '%>' , '?>' , $ content ) ; \ Asgard \ File \ FileSystem :: write ( $ _dst , $ content ) ; }
Process a template file.
@param string $src
@param string $dst
@param array  $vars
Process a template file .