Gets the Loader instance.
Twig_LoaderInterface A Twig_LoaderInterface instance
public function getLoader() { if (null === $this->loader) { throw new LogicException('You must set a loader first.'); } return $this->loader; }