public function getHandler($extension)
	{
		if (isset($this->handlers[$extension]))
		{
			return $this->handlers[$extension];
		}

		$class = 'Fuel\Config\Handler\\'.ucfirst($extension);

		if ( ! class_exists($class, true))
		{
			throw new \RuntimeException('Could not find config handler for extension: '.$extension);
		}

		$handler = new $class;
		$this->handlers[$extension] = $handler;

		return $handler;
	}
public function getHandler($extension)
	{
		if (isset($this->handlers[$extension]))
		{
			return $this->handlers[$extension];
		}

		$class = 'Fuel\Config\Handler\\'.ucfirst($extension);

		if ( ! class_exists($class, true))
		{
			throw new \RuntimeException('Could not find config handler for extension: '.$extension);
		}

		$handler = new $class;
		$this->handlers[$extension] = $handler;

		return $handler;
	}
public function getHandler ( $ extension ) { if ( isset ( $ this -> handlers [ $ extension ] ) ) { return $ this -> handlers [ $ extension ] ; } $ class = 'Fuel\Config\Handler\\' . ucfirst ( $ extension ) ; if ( ! class_exists ( $ class , true ) ) { throw new \ RuntimeException ( 'Could not find config handler for extension: ' . $ extension ) ; } $ handler = new $ class ; $ this -> handlers [ $ extension ] = $ handler ; return $ handler ; }
Retrieves the handler for a file type

@param string $extension

@return Handler

@throws \RuntimeException
Retrieves the handler for a file type