original_string: private function templateFile($name)
      {
          $filename = $this->viewPath . '/' . str_replace('.', DIRECTORY_SEPARATOR, $name) . '.blade.php';
          if (file_exists($filename)) {
              return $filename;
          }
  
          if (self::$manifest === null) {
              if (file_exists($this->pluginManifestOfViews)) {
                  /** @noinspection PhpIncludeInspection */
                  self::$manifest = include $this->pluginManifestOfViews;
              }
          }
  
          return isset(self::$manifest[$name]) ? base_path(self::$manifest[$name]) : null;
      }
code: private function templateFile($name)
      {
          $filename = $this->viewPath . '/' . str_replace('.', DIRECTORY_SEPARATOR, $name) . '.blade.php';
          if (file_exists($filename)) {
              return $filename;
          }
  
          if (self::$manifest === null) {
              if (file_exists($this->pluginManifestOfViews)) {
                  /** @noinspection PhpIncludeInspection */
                  self::$manifest = include $this->pluginManifestOfViews;
              }
          }
  
          return isset(self::$manifest[$name]) ? base_path(self::$manifest[$name]) : null;
      }
code_tokens: private function templateFile ( $ name ) { $ filename = $ this -> viewPath . '/' . str_replace ( '.' , DIRECTORY_SEPARATOR , $ name ) . '.blade.php' ; if ( file_exists ( $ filename ) ) { return $ filename ; } if ( self :: $ manifest === null ) { if ( file_exists ( $ this -> pluginManifestOfViews ) ) { /** @noinspection PhpIncludeInspection */ self :: $ manifest = include $ this -> pluginManifestOfViews ; } } return isset ( self :: $ manifest [ $ name ] ) ? base_path ( self :: $ manifest [ $ name ] ) : null ; }
docstring: Get the full template filename by given view name.
  
  @param string $name Name of the view
  @return string
docstring_tokens: Get the full template filename by given view name .