src/Pdx.php
protected function conf($confpath, $dependencies = []) {

		$conf = $this->confs->read($confpath);

		if (isset($conf['require'])) {
			throw new Panic("The paradox configuration $confpath must not contain a require key. Only the main paradox configuration should specify dependencies.");
		}

		return array_merge($conf, [ 'require' => $dependencies ]);
	}
protected function conf($confpath, $dependencies = []) {

		$conf = $this->confs->read($confpath);

		if (isset($conf['require'])) {
			throw new Panic("The paradox configuration $confpath must not contain a require key. Only the main paradox configuration should specify dependencies.");
		}

		return array_merge($conf, [ 'require' => $dependencies ]);
	}
protected function conf ( $ confpath , $ dependencies = [ ] ) { $ conf = $ this -> confs -> read ( $ confpath ) ; if ( isset ( $ conf [ 'require' ] ) ) { throw new Panic ( "The paradox configuration $confpath must not contain a require key. Only the main paradox configuration should specify dependencies." ) ; } return array_merge ( $ conf , [ 'require' => $ dependencies ] ) ; }
Normalize configuration entry

@return array
Normalize configuration entry