lib/Config.php
/**
	 * Returns the specified synthesized configuration.
	 *
	 * @param string $id The identifier of the config.
	 *
	 * @return mixed
	 *
	 * @throws \InvalidArgumentException in attempt to obtain an undefined config.
	 */
Returns the specified synthesized configuration.
@param string $id The identifier of the config.

@return mixed

@throws \InvalidArgumentException in attempt to obtain an undefined config.
Returns the specified synthesized configuration . @param string $id The identifier of the config . @return mixed @throws \ InvalidArgumentException in attempt to obtain an undefined config .
public function offsetGet($id)
	{
		if ($this->offsetExists($id))
		{
			return $this->synthesized[$id];
		}
		if (empty($this->synthesizers[$id]))
		{
			throw new NoSynthesizerDefined($id);
		}
		list($synthesizer, $from) = $this->synthesizers[$id] + [ 1 => $id ];
		$started_at = microtime(true);
		$config = $this->synthesize($id, $synthesizer, $from);
		ConfigProfiler::add($started_at, $id, $synthesizer);
		return $config;
	}
public function offsetGet ( $ id ) { if ( $ this -> offsetExists ( $ id ) ) { return $ this -> synthesized [ $ id ] ; } if ( empty ( $ this -> synthesizers [ $ id ] ) ) { throw new NoSynthesizerDefined ( $ id ) ; } list ( $ synthesizer , $ from ) = $ this -> synthesizers [ $ id ] + [ 1 => $ id ] ; $ started_at = microtime ( true ) ; $ config = $ this -> synthesize ( $ id , $ synthesizer , $ from ) ; ConfigProfiler :: add ( $ started_at , $ id , $ synthesizer ) ; return $ config ; }
Returns the specified synthesized configuration.
Returns the specified synthesized configuration .