Flow\Template::loadImport PHP Method

loadImport() public method

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