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);
    }
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);
    }
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 ) ; }
Import definitions from file

@param array $overrideData The overridden data
@throws \Exception
Import definitions from file