public function registerSwordEngine($resolver)
	{
		$app = $this->app;

		// The Compiler engine requires an instance of the CompilerInterface, which in
		// this case will be the Sword compiler, so we'll first create the compiler
		// instance to pass into the engine so it can compile the views properly.
		$app->bindShared('sword.compiler', function($app)
		{
			$cache = $app['path.storage'].'/views';

			return new SwordCompiler($app['files'], $cache);
		});

		$resolver->register('sword', function() use ($app)
		{
			return new CompilerEngine($app['sword.compiler'], $app['files']);
		});
	}