src/Service/DependencyService.php
public function fetch($name)
    {
        $template = false;
        if (array_key_exists($name, $this->templates)) {
            $template = $this->templates[$name];
        }
        return $template;
    }
public function fetch($name)
    {
        $template = false;
        if (array_key_exists($name, $this->templates)) {
            $template = $this->templates[$name];
        }
        return $template;
    }
Fetches appropriate template

@param string $name

@return GeneratorInterface|false the required template or false if none.