Flow\Template::loadInclude PHP Method

loadInclude() public method

public loadInclude ( $template )
    public function loadInclude($template)
    {
        try {
            return $this->loader->load($template, static::NAME);
        } catch (\Exception $e) {
            throw new \RuntimeException(sprintf('error including %s (%s) from %s line %d', var_export($template, true), $e->getMessage(), static::NAME, $this->getLineTrace($e)));
        }
    }