public function parse($template)
	{

		$viewsFromConfig = $this->app['config']->get('view.paths');

		$views = array_merge((array)$viewsFromConfig, (array)$this->paths['theme']);
		$cache = $this->paths['storage'] . '/views';

		$blade = new BladeAdapter($views, $cache);

		if (!$blade->getCompiler()->isExpired($template))
		{
			return $blade->getCompiler()->getCompiledPath($template);
		}

		$blade->getCompiler()->compile($template);

		return $blade->getCompiler()->getCompiledPath($template);

	}
public function parse($template)
	{

		$viewsFromConfig = $this->app['config']->get('view.paths');

		$views = array_merge((array)$viewsFromConfig, (array)$this->paths['theme']);
		$cache = $this->paths['storage'] . '/views';

		$blade = new BladeAdapter($views, $cache);

		if (!$blade->getCompiler()->isExpired($template))
		{
			return $blade->getCompiler()->getCompiledPath($template);
		}

		$blade->getCompiler()->compile($template);

		return $blade->getCompiler()->getCompiledPath($template);

	}
public function parse ( $ template ) { $ viewsFromConfig = $ this -> app [ 'config' ] -> get ( 'view.paths' ) ; $ views = array_merge ( ( array ) $ viewsFromConfig , ( array ) $ this -> paths [ 'theme' ] ) ; $ cache = $ this -> paths [ 'storage' ] . '/views' ; $ blade = new BladeAdapter ( $ views , $ cache ) ; if ( ! $ blade -> getCompiler ( ) -> isExpired ( $ template ) ) { return $ blade -> getCompiler ( ) -> getCompiledPath ( $ template ) ; } $ blade -> getCompiler ( ) -> compile ( $ template ) ; return $ blade -> getCompiler ( ) -> getCompiledPath ( $ template ) ; }
Handle the compilation of the templates

@param $template
Handle the compilation of the templates