original_string: public function load()
      {
          // Make the $menu variable available to all files
          $menu = app('menu');
  
          // Include menu files
          $files = $this->getFiles();
  
          /** @var \SplFileInfo $file */
          foreach ($files as $file) {
              require_once $file->getPath() . '/' . $file->getFilename();
          }
      }
code: public function load()
      {
          // Make the $menu variable available to all files
          $menu = app('menu');
  
          // Include menu files
          $files = $this->getFiles();
  
          /** @var \SplFileInfo $file */
          foreach ($files as $file) {
              require_once $file->getPath() . '/' . $file->getFilename();
          }
      }
code_tokens: public function load ( ) { // Make the $menu variable available to all files $ menu = app ( 'menu' ) ; // Include menu files $ files = $ this -> getFiles ( ) ; /** @var \SplFileInfo $file */ foreach ( $ files as $ file ) { require_once $ file -> getPath ( ) . '/' . $ file -> getFilename ( ) ; } }
docstring: Load menus.
  
  @throws DirectoryNotFound
  @throws MenuFilesNotFound
docstring_tokens: Load menus .