original_string: public function registerMarkdownEngine($resolver)
      {
          $app = $this->app;
  
          // The Compiler engine requires an instance of the CompilerInterface, which in
          // this case will be the Markdown compiler, so we'll first create the compiler
          // instance to pass into the engine so it can compile the views properly.
          $app->bindShared('markdown.compiler', function($app)
          {
              $cachePath = $app['config']['view.compiled'];
  
              return new MarkdownCompiler($app['files'], $cachePath);
          });
  
          $resolver->register('markdown', function() use ($app)
          {
              return new CompilerEngine($app['markdown.compiler'], $app['files']);
          });
      }
code: public function registerMarkdownEngine($resolver)
      {
          $app = $this->app;
  
          // The Compiler engine requires an instance of the CompilerInterface, which in
          // this case will be the Markdown compiler, so we'll first create the compiler
          // instance to pass into the engine so it can compile the views properly.
          $app->bindShared('markdown.compiler', function($app)
          {
              $cachePath = $app['config']['view.compiled'];
  
              return new MarkdownCompiler($app['files'], $cachePath);
          });
  
          $resolver->register('markdown', function() use ($app)
          {
              return new CompilerEngine($app['markdown.compiler'], $app['files']);
          });
      }
code_tokens: public function registerMarkdownEngine ( $ resolver ) { $ app = $ this -> app ; // The Compiler engine requires an instance of the CompilerInterface, which in // this case will be the Markdown compiler, so we'll first create the compiler // instance to pass into the engine so it can compile the views properly. $ app -> bindShared ( 'markdown.compiler' , function ( $ app ) { $ cachePath = $ app [ 'config' ] [ 'view.compiled' ] ; return new MarkdownCompiler ( $ app [ 'files' ] , $ cachePath ) ; } ) ; $ resolver -> register ( 'markdown' , function ( ) use ( $ app ) { return new CompilerEngine ( $ app [ 'markdown.compiler' ] , $ app [ 'files' ] ) ; } ) ; }
docstring: Register the Markdown engine implementation.
  
  @param  \Nova\View\Engines\EngineResolver  $resolver
  @return void
docstring_tokens: Register the Markdown engine implementation .