protected function readExtensionConfig(PackageInterface $package, $file)
    {
        $path = $this->preparePath($package, $file);
        if (!file_exists($path)) {
            $this->io->writeError('<error>Non existent extension config file</error> ' . $file . ' in ' . $package->getName());
            exit(1);
        }
        return require $path;
    }
protected function readExtensionConfig(PackageInterface $package, $file)
    {
        $path = $this->preparePath($package, $file);
        if (!file_exists($path)) {
            $this->io->writeError('<error>Non existent extension config file</error> ' . $file . ' in ' . $package->getName());
            exit(1);
        }
        return require $path;
    }
protected function readExtensionConfig ( PackageInterface $ package , $ file ) { $ path = $ this -> preparePath ( $ package , $ file ) ; if ( ! file_exists ( $ path ) ) { $ this -> io -> writeError ( '<error>Non existent extension config file</error> ' . $ file . ' in ' . $ package -> getName ( ) ) ; exit ( 1 ) ; } return require $ path ; }
Read extra config.
@param string $file
@return array
Read extra config .