original_string: private function importDefinitionsFromFile(array $overrideData): array
      {
          if (!file_exists($this->file)) {
              throw new \Exception('File not found: ' . $this->file);
          }
  
          // Load data from yam file and replace with override data;
          $definitions = Data::parseYamlFile($this->file);
          return array_replace_recursive($definitions, $overrideData);
      }
code: private function importDefinitionsFromFile(array $overrideData): array
      {
          if (!file_exists($this->file)) {
              throw new \Exception('File not found: ' . $this->file);
          }
  
          // Load data from yam file and replace with override data;
          $definitions = Data::parseYamlFile($this->file);
          return array_replace_recursive($definitions, $overrideData);
      }
code_tokens: private function importDefinitionsFromFile ( array $ overrideData ) : array { if ( ! file_exists ( $ this -> file ) ) { throw new \ Exception ( 'File not found: ' . $ this -> file ) ; } // Load data from yam file and replace with override data; $ definitions = Data :: parseYamlFile ( $ this -> file ) ; return array_replace_recursive ( $ definitions , $ overrideData ) ; }
docstring: Import definitions from file
  
  @param array $overrideData The overridden data
  @throws \Exception
docstring_tokens: Import definitions from file