/** * @param string $option * @param mixed|null $default * * @return mixed|null */ public function getOption($option, $default = null) { return $this->environment->getConfig('renderer/' . $option, $default); }
public function setEnvironment(Environment $environment) { $this->config->mergeConfig($environment->getConfig()); }
protected function getLinkRenderer(Environment $environment) { return new LinkRenderer($environment->getConfig('daux')); }