original_string: private function loadFile(string $path)
      {
          if (!file_exists($path)) {
              throw new Exception('Configuration file "' . $path . '" is not found');
          }
  
          if (!is_readable($path)) {
              throw new Exception('Configuration file "' . $path . '" is not readable');
          }
  
          // Include file
          $content = include $path;
  
          if (!\is_array($content)) {
              throw new Exception("Passed file \"$path\" is not array");
          }
  
          return $content;
      }
code: private function loadFile(string $path)
      {
          if (!file_exists($path)) {
              throw new Exception('Configuration file "' . $path . '" is not found');
          }
  
          if (!is_readable($path)) {
              throw new Exception('Configuration file "' . $path . '" is not readable');
          }
  
          // Include file
          $content = include $path;
  
          if (!\is_array($content)) {
              throw new Exception("Passed file \"$path\" is not array");
          }
  
          return $content;
      }
code_tokens: private function loadFile ( string $ path ) { if ( ! file_exists ( $ path ) ) { throw new Exception ( 'Configuration file "' . $ path . '" is not found' ) ; } if ( ! is_readable ( $ path ) ) { throw new Exception ( 'Configuration file "' . $ path . '" is not readable' ) ; } // Include file $ content = include $ path ; if ( ! \ is_array ( $ content ) ) { throw new Exception ( "Passed file \"$path\" is not array" ) ; } return $ content ; }
docstring: Load parameters from filesystem
  
  @param   string $path
  @return  mixed
  @throws  Exception
docstring_tokens: Load parameters from filesystem